Is there any way to determine, after an eval has taken place, what the internal eval counter is in perl so I can maintain a table of eval numbers to english names so when I trap thse Apache errors I can replace (eval xxx) with something that makes a bit more sense?
Use the #line meta-comment:
eval "#line 1 foo\ndie"; print $@;
Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).
In reply to Re: Is it possible to determine the eval block accumulator?
by Juerd
in thread Is it possible to determine the eval block accumulator?
by BlacKat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |