Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: open failure code

by tachyon (Chancellor)
on Nov 26, 2003 at 23:17 UTC ( #310408=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (open FH, $log) {
    ....send tail of log file...
    } else {
    ....send "server is down. Perl say $!"
    }
    
  2. or download this
     
    blah() || do{ $scalar = 'blah'; more_stuff() }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://310408]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-07-17 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (354 votes). Check out past polls.

    Notices?