in reply to Re: Re: Re: Lexical::Alias & subroutines
in thread Lexical::Alias & subroutines
I don't think the $SWAP global is the right implementation. It's too global :-)
What about having
andalias $original => $alias;
or something like this. Or at least the SWAPing should be on package level. IHMO of course.Alias $alias => $original;
Thanks, Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
Edit by castaway: Closed small tag in signature
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Lexical::Alias & subroutines
by Aristotle (Chancellor) on May 21, 2003 at 11:59 UTC | |
by Jenda (Abbot) on May 21, 2003 at 13:14 UTC | |
by Aristotle (Chancellor) on May 21, 2003 at 13:24 UTC |