XP is just a number | |
PerlMonks |
Re: How can a subroutine get its name?by clemburg (Curate) |
on Sep 03, 2001 at 20:56 UTC ( [id://109894]=note: print w/replies, xml ) | Need Help?? |
caller() is the function you want. A subroutine can get its own name like this:
Christian Lemburg
In Section
Seekers of Perl Wisdom
|
|