my $ret; eval { $ret = $foo->blah; 1 } or warn "it failed but did err get clobbered? $@";
In reply to Re: Testing a module with eval() where $@ is clobbered (pre v5.14)
by Anonymous Monk
in thread Testing a module with eval() where $@ is clobbered (pre v5.14)
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |