Acme-Monkey
view release on metacpan or search on metacpan
lib/Acme/Monkey.pm view on Meta::CPAN
if (ref($target) eq 'Acme::Monkey') {
$target->_happiness(+1);
}
else {
die "Target is not a monkey!\n";
}
}
sub dump {
my $self = shift;
use Data::Dumper;
print Dumper($self);
return;
}
=head2 see
Allows the monkey to see a function. See do
sub shoot {
print "Bang!\n";
( run in 0.233 second using v1.01-cache-2.11-cpan-4d50c553e7e )