Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: Inheritance and calling a subclass method *from* a baseclass method... (rephrase)

by tye (Sage)
on Mar 04, 2007 at 13:35 UTC ( #603115=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub whatever {
        #...
        my ($method) = ( caller(0) )[3];
        #...
    }
    
  2. or download this
    sub whatever {
        #...
        my $method= "whatever";
        #...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2021-04-14 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?