Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Need help with script with a while loop reading file

by 2teez (Priest)
on May 03, 2013 at 16:23 UTC ( #1031924=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open FILE, "<hostname_check.txt" || die $!;
    
  2. or download this
    open ( FILE, "<hostname_check.txt" ) || die $!;
    
  3. or download this
    open FILE, "<hostname_check.txt" or die $!;
    
  4. or download this
    open my $fh, '<',"hostname_check.txt" or die $!;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-09-16 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (13 votes), past polls