Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: File Reading and Closing confusion

by shmem (Canon)
on Aug 09, 2010 at 09:30 UTC ( #853757=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        open(FH, "<", "a.txt") or die $!;
        my $line1 = <FH>;
    ...
        close FH;
    __END__
    eof!
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2016-09-29 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (545 votes). Check out past polls.