When an there is an error in an eval, like: $a=10; eval {$a->isa('foo')}; I actually get the error message printed to my error log, even though Perl normally wouldn't print such a message, only store it in $@.
Is there some easy way to catch the fact I'm in an eval so I can suppress writing the message to the error file?
In reply to Prevent my STDERR logging in evals... by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |