Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Reading file contents into an array

by jjdraco (Scribe)
on Dec 01, 2002 at 23:00 UTC ( #216819=note: print w/replies, xml ) Need Help??


in reply to Reading file contents into an array

Don't forget my favorite way to read text files Tie::File.
use Tie::File; my @file; tie @file, 'Tie::File, 'path/to/file';


jjdraco
learning Perl one statement at a time.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://216819]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2017-12-18 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (497 votes). Check out past polls.

    Notices?