c:\test>perl use strict; use warnings; sub install{ print 'hi' } *upgrade = \*install; install(); upgrade(); ^Z hihi
In reply to Re: subroutine with two names
by BrowserUk
in thread subroutine with two names
by jb113
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |