hotshot has asked for the wisdom of the Perl Monks concerning the following question:
Just don't ask why I nedd that :-) Thankssub testFunc { ... print &getFuncName(); # somehow will print 'testFunc' ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting function name
by shotgunefx (Parson) on Dec 31, 2002 at 12:17 UTC | |
by broquaint (Abbot) on Dec 31, 2002 at 12:46 UTC | |
by shotgunefx (Parson) on Dec 31, 2002 at 14:14 UTC |