Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-10-22 22:45 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.