To handle the negative case, one could include a die handler in the open statement to make sure everything is nice and graceful.
In reply to Re: Re:x2 if (open(FH, $path)) { ? (I got the resource acquisition blues)
by Ryszard
in thread if (open(FH, $path)) { ?
by bkiahg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |