Of course, then you lose the return value of stuff if you cared about it, though you could save it in another variable if you want to go through the trouble.my $worked = eval { stuff; 1; };
In reply to Re^6: Question on "Effective Perl Programming" (intervene)
by runrig
in thread Question on "Effective Perl Programming"
by jfroebe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |