Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

method aliases with goto(&NAME)

by citromatik (Curate)
on Sep 17, 2013 at 10:52 UTC ( #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
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? | Other CB clients
Other Users?
Others wandering the Monastery: (17)
As of 2015-05-06 21:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (151 votes), past polls