Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^6: goto superclass method

by Aristotle (Chancellor)
on Dec 22, 2004 at 22:37 UTC ( #416934=note: print w/replies, xml ) Need Help??


in reply to Re^5: goto superclass method
in thread goto superclass method

My thinking is that if a superclass has overriden can(), then they have good reason to, so in a situation where you know you have a blessed ref or a package name, you should prefer calling it as a method. I only use UNIVERSAL::can directly when I'm unsure about that.

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2020-10-22 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (229 votes). Check out past polls.

    Notices?