No such thing as a small change | |
PerlMonks |
Re: Re:x2 if (open(FH, $path)) { ? (I got the resource acquisition blues)by Ryszard (Priest) |
on May 03, 2004 at 14:56 UTC ( [id://350031]=note: print w/replies, xml ) | Need Help?? |
Yup, agreed, i would s/theoretical// as there is an actual risk, and it can happen...
To handle the negative case, one could include a die handler in the open statement to make sure everything is nice and graceful.
In Section
Seekers of Perl Wisdom
|
|