in reply to Re: aliasing subs
in thread aliasing subs

Nice. That's what I tried already too, but it looked very complex to me, considering what I was trying to do. Seems to me dispatching functionality with aliased sub names (like some unix commands do) is one major benefit of aliases, but it doesn't appear to be possible... which is a pity.

Replies are listed 'Best First'.
Re: Re: Re: aliasing subs
by Jenda (Abbot) on May 06, 2003 at 17:55 UTC

    I don't know but ... if I make an alias I expect the alias to behave exactly as the original. And not to notice I called it differently and starting to complain that it aint Larry, but Mr. Wall.

    If it's supposed to behave differently it should be a different subroutine.

    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