Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 exploiting the Monastery: (16)
As of 2015-07-30 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls