Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 surveying the Monastery: (9)
As of 2015-10-09 19:08 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (250 votes), past polls