Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

method aliases with goto(&NAME)

by citromatik (Curate)
on Sep 17, 2013 at 10:52 UTC ( [id://1054418]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub legacy_method {
       my ($self, @args) = @_;
       return $self->current_method(@_);
    }
    
  2. or download this
    sub legacy_method {
      goto(&current_method);
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found