[Tallahassee-pm] Subroutine Reference

Ed Mansouri emansouri at ucompass.com
Wed Jan 21 09:31:40 CST 2004


Hello,

Is there a built-in variable that will recognize the name of a subroutine
currently being executed?

In other words:

mySub();

sub mySub {

print ${some_symbol};

# and ${some_symbol} will return "mySub"

}

does anyone know what 'some_symbol' would be to make this possible?

Ed
-----------------------------------------------------------------
Ed Mansouri
Ucompass - http://www.ucompass.com

Make sure we stay connected to you
Add yourself to the Ucompass Address Book
http://support.ucompass.com/addressbook.html

Committed to Building Profitable E-Learning Enterprises
Phone: (850) 297 1800 x 201
FAX: (850) 553-9252




More information about the Tallahassee-pm mailing list