Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Re:x2 if (open(FH, $path)) { ? (I got the resource acquisition blues)

by ysth (Canon)
on May 03, 2004 at 16:40 UTC ( #350077=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re:x2 if (open(FH, $path)) { ? (I got the resource acquisition blues)
in thread if (open(FH, $path)) { ?

It kills more than the if statement; if open is failing but your application isn't dying, you must be in an eval or something.
  • Comment on Re: Re: Re: Re:x2 if (open(FH, $path)) { ? (I got the resource acquisition blues)

Replies are listed 'Best First'.
Re: Re: Re: Re: Re:x2 if (open(FH, $path)) { ? (I got the resource acquisition blues)
by bkiahg (Pilgrim) on May 03, 2004 at 16:49 UTC
    Your right, I was printing out part of a webpage before the or die and it doesn't print any errors. Just ends the application.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://350077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2023-03-29 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (72 votes). Check out past polls.

    Notices?