Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Can't Reference a Sub by Variable when using Strict

by chromatic (Archbishop)
on Oct 04, 2004 at 06:20 UTC ( #396130=note: print w/replies, xml ) Need Help??


in reply to Re: Can't Reference a Sub by Variable when using Strict
in thread Can't Reference a Sub by Variable when using Strict

If you used __PACKAGE__->can( $i ) instead, you could pick up on overridden can() methods and might find out that the package can do much more than you thought it could. That can be very useful sometimes.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2021-10-24 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (88 votes). Check out past polls.

    Notices?