Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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?

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 musing on the Monastery: (6)
As of 2015-11-28 13:05 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (741 votes), past polls