One subroutine with 3 names and 3 different behaviours, sounds an aweful lot like it ought to be 3 subroutines with their own names, that call a 4th subroutine for their common behaviour--at least to me.
Is there a good reason for avoiding the obvious solution?
In reply to Re: How to get the name of an aliased function
by BrowserUk
in thread How to get the name of an aliased function
by DrWhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |