in reply to Current en vogue technique for aliasing subs

In this case the real answer is: Choose a name. For purposes of documention, maintenance and name space pollution you are better to have only one way of accessing identical functionality.


Perl is Huffman encoded by design.
  • Comment on Re: Current en vogue technique for aliasing subs

Replies are listed 'Best First'.
Re^2: Current en vogue technique for aliasing subs
by Tanktalus (Canon) on Aug 29, 2005 at 23:41 UTC

    Tell that to the maintainer/author of XML::Twig. ;-) The answer there was: depends on how you look at your data - XML-ish or SGML-ish? The same behaviour has different terminologies between the two, and you can use the terminology that fits your problem space.

    Although you may have two identical functionalities, they may only be identical in expression, while quite different in semantics.

    Or, thor may just be fretting over nothing - sometimes there is no "right" or "wrong" answer, it's just worth making a decision and sticking to it, and it'll be as good as the other choice, and likely few, if any, will complain anyway. ;-)