It used to be quite easy to get eval to fail but not have $@ set at the end (simply use eval inside a destructor). Doing some testing, it appears that several of the ways this used to happen have been fixed.
I'll continue to make the last expression in my evals to be a true value so I can test for failure directly:
- tyeeval "...; 1" or die "Eval failed: $@\n";
In reply to Re: seeking eval failures (fixed?)
by tye
in thread seeking eval failures
by bronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |