Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

goto superclass method

by avarus (Novice)
on Dec 22, 2004 at 17:48 UTC ( [id://416841]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #in package bar
    sub dostuff
    ...
        return $_[0]->SUPER::dostuff() if $condition;
    }
    
  2. or download this
    
    sub dostuff
    ...
        goto &{ $_[0]->SUPER::dostuff } if $condition;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-20 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found