Hi, a simple technique is to return true from the eval block on success and evaluate that.
for ( @all_the_things ) { eval { blah($_); 1 } or next; }
Hope this helps!
In reply to Re: Eval block for routine error handling
by 1nickt
in thread Eval block for routine error handling
by PiyaPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |