Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: messing with @ISA - unblessing

by FunkyMonk (Chancellor)
on Aug 03, 2008 at 13:04 UTC ( #701884=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://701884]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2020-08-15 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (79 votes). Check out past polls.

    Notices?