Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: open failure code

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

Help for this page

Select Code to Download


  1. or download this
    $log = "moooojlfdkafj.txt";
    $down="false";
    open (FH, $log) || ( $down = "true" );
    print $down;
    
  2. or download this
    $log = "moooojlfdkafj.txt";
    $down="false";
    open (FH, $log) or $down = "true";
    print $down;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2021-05-11 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (116 votes). Check out past polls.

    Notices?