In my example "hack" I'm using PadWalker to determine the variable name for use in debugging or error msg context.
I can check if it's installed and otherwise savely fall back to something like "$VAR1" or the "$filename-$linenumber" if not.
And I doubt that PadWalker can cause instabilities just by parsing the optree!
In any way I wouldn't suggest using code filters for error msgs in productive code...
Cheers Rolf
In reply to Re^2: Dumping variables but DRY and simple
by LanX
in thread Dumping variables but DRY and simple
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |