Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: perl equivalent to ruby's alias

by dragonchild (Archbishop)
on Sep 26, 2008 at 03:22 UTC ( #713800=note: print w/ replies, xml ) Need Help??


in reply to Re: perl equivalent to ruby's alias
in thread perl equivalent to ruby's alias

I think Attribute::Alias might work better.

sub foo :Alias(bar) { ... } # These both do the same thing. foo(); bar();

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?


Comment on Re^2: perl equivalent to ruby's alias
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-08-21 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (133 votes), past polls