![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Special variable to return current sub name?by spudnic (Acolyte) |
on Aug 12, 2003 at 20:59 UTC ( #283353=perlquestion: print w/replies, xml ) | Need Help?? |
spudnic has asked for the wisdom of the Perl Monks concerning the following question:
Just as we have $$ for the pid or $ENV{'TERM'} to read an environmental variable, is there any special variable that will equal the name of the subroutine that is currently being executed? ex:
Back to
Seekers of Perl Wisdom
|
|