spudnic has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl print "Hello\n"; &ThisSub; exit(0); sub ThisSub { print "I am now in sub $#@_#($&\n"; return(1); } output: Hello I am now in sub ThisSub
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Special variable to return current sub name?
by Mr. Muskrat (Canon) on Aug 12, 2003 at 21:09 UTC | |
|
Re: Special variable to return current sub name?
by liz (Monsignor) on Aug 12, 2003 at 21:10 UTC | |
|
•Re: Special variable to return current sub name?
by merlyn (Sage) on Aug 12, 2003 at 23:36 UTC | |
|
Re: Special variable to return current sub name?
by The Mad Hatter (Priest) on Aug 12, 2003 at 21:10 UTC |