Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: open failure code

by mpeppler (Vicar)
on Nov 26, 2003 at 23:18 UTC ( #310410=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(FH, $log) || do { $down = 'true'; };
    
  2. or download this
    if(open(FH, $log)) {
        send tail of log file
    ...
    } else {
        ... send server down...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-04-13 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?