We don't bite newbies here... much | |
PerlMonks |
Re^5: Variable Name Mistery. Who calls?by ikegami (Patriarch) |
on Oct 26, 2006 at 02:19 UTC ( [id://580682]=note: print w/replies, xml ) | Need Help?? |
Well, you could use PadWalker's var_name. var_name won't always work, though. Before using PadWalker, ask yourself if you really think the tiny bit of extra usefulness to help debug the rare situation where a non-existant function is called more than once in a given statement is really worth the extra work, complexity and maintenance issues of displaying the variable's name (when there might not even be one).
In Section
Seekers of Perl Wisdom
|
|