sub foo { my $this_subs_name = (caller(0))[3]; }
In reply to Re: Can I get a subroutine's name from inside the subroutine?
by vroom
in thread Can I get a subroutine's name from inside the subroutine?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |