or expressify a block using do:open (...) or ($errormsg = $!, $status = -1);
open (...) or do { $errormsg = $!; $status = -1; }
Makeshifts last the longest.
In reply to Re: comprehensive error handling
by Aristotle
in thread comprehensive error handling
by mgibian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |