Welcome to the Monastery | |
PerlMonks |
Re: Reading from a fileby thinker (Parson) |
on Aug 26, 2003 at 09:56 UTC ( [id://286640]=note: print w/replies, xml ) | Need Help?? |
Hi itzMe,
If you want to be able to access the contents of the file again after initially reading it, slurp it into an array. This is as simple as
Now you can use @lines in whatever way you want. Hope this helps thinker
In Section
Seekers of Perl Wisdom
|
|