Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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.


Comment on Re: Reading file contents into an array
Download Code

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 perusing the Monastery: (10)
As of 2015-01-26 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (195 votes), past polls