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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to