Why mess with one code block with two names?
Because both return values come from the same line of code; and just to practice my perl skills.
You're right that using a module could be more handy, but I want to understand more about perl references, so I try to use some in my code. I'm more interested in explanation why it does/doesn't work, and what the alternatives in implementation are, than references to modules. ;)
Thanks for the idea, though.
In reply to Re: Re: aliasing subs
by december
in thread aliasing subs
by december
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |