Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-08-28 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (390 votes). Check out past polls.