Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: goto superclass method

by broquaint (Abbot)
on Dec 23, 2004 at 06:48 UTC ( #417009=note: print w/replies, xml ) Need Help??


in reply to goto superclass method

You were almost there, just give that goto code dereference a code reference as produced by can e.g
sub dostuff { goto &{ $_[0]->can('SUPER::dostuff') } if $condition; # ... }
Sorry if this repeats what was said above but all those replies were making me cross-eyed.
HTH

_________
broquaint

Replies are listed 'Best First'.
Re^2: goto superclass method
by Aristotle (Chancellor) on Dec 26, 2004 at 18:44 UTC

    You don't need the curlies there. It will work just fine without them:

    goto $_[0]->can( 'SUPER::dostuff' );

    Makeshifts last the longest.

•Re^2: goto superclass method
by merlyn (Sage) on Dec 23, 2004 at 12:03 UTC
      Heaven forbid someone makes a mistake. {{{sigh}}}

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://417009]
help
Chatterbox?
[Discipulus]: someone has experience with this? as destiation i think i'll go with virtualbox on centos
[Lady_Aleena]: Why XP?
[Discipulus]: it is for my father: it is impossible to tell him to learn a newer OS
[Lady_Aleena]: To tell him or teach him?
Discipulus anyway xp is still the best lowend game machine
[Discipulus]: both: everyting must be identical in the new v-machine
[Lady_Aleena]: So putting a nice DE or WM up on a Linux machine is not an option?
[Discipulus]: i need some converter to have directly an OVF format directly: at the moment i'm trying with vmware converter standalone
[Lady_Aleena]: I don't know what to tell you. I can barely get my Linux machine to do things I want.
[Discipulus]: if DE or WM means desktop env and win manager.. no, not an option

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-05-22 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?