Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Clear questions and runnable code
get the best and fastest answer
 
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 pondering the Monastery: (7)
As of 2014-04-18 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (460 votes), past polls