in reply to Re:x2 if (open(FH, $path)) { ? (I got the resource acquisition blues)
in thread if (open(FH, $path)) { ?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re:x2 if (open(FH, $path)) { ? (I got the resource acquisition blues)
by bkiahg (Pilgrim) on May 03, 2004 at 15:15 UTC | |
by ysth (Canon) on May 03, 2004 at 16:40 UTC | |
by bkiahg (Pilgrim) on May 03, 2004 at 16:49 UTC |
In Section
Seekers of Perl Wisdom