http://qs321.pair.com?node_id=701884


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_ok

can_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
    Yep, that would be it. Thankyou!


    - Boldra