Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2016-12-10 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (159 votes). Check out past polls.