|
|
| No such thing as a small change | |
| PerlMonks |
Re: How to get variable name in trace messageby stevieb (Hermit) |
| on Jun 15, 2012 at 05:45 UTC ( #976357=note: print w/ replies, xml ) | Need Help?? |
|
Does caller() appeal to you in this case? ps. I don't know much about C, so this is just a guess. Update: caller() won't print out the var & contents inherently, but it does of course produce a stack trace.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||