in reply to Re: messing with @ISA - unblessing
in thread messing with @ISA - unblessing
#can_ok( $player, 'name', 'player has name method'); #why does this fail?Because can_ok is looking for methods called 'name' and 'player has name method'?
According to Test::More:
can_okcan_ok($module, @methods);
can_ok($object, @methods);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: messing with @ISA - unblessing
by Boldra (Deacon) on Aug 03, 2008 at 18:24 UTC |
In Section
Seekers of Perl Wisdom