while (eval { my $value = $object->next_val() }) { # do cool stuff } print "Error: $@\n" if($@);
In reply to Re: Error Handling Misconception
by aquarium
in thread Error Handling Misconception
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |