Hi, Just like $0 reveals the current script name is there any variable using which I can find the current sub-routine I am currently in.
Snippet of what I am looking for:
use strict;
use warnings;
sub foo_bar () {
print "You are currently using the function - $<some_variable>\n";
}
&foo_bar;
Cheers,
Parag
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
