Is it possible from within a function to get the name of the function I'm
in?  e.g.

**************************************
sub function23 { return "I am in function $<somevariable??>\n"; }

print function23();
**************************************

... should return "I am in function function23"

Does that make sense?

I have properties that vary depending on what function I'm in, and I'm
trying to make the code more modular...

- B




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to