No such thing as a small change | |
PerlMonks |
Re: Grab last line and printby izut (Chaplain) |
on Aug 28, 2006 at 10:54 UTC ( [id://569963]=note: print w/replies, xml ) | Need Help?? |
I see no mention to Tie::File. With this module, you can use your file as a Perl array.
But remember: this will open your file in read/write mode, so any modifications you make in array will reflect on file's data. Use this way for read-only access:
Igor 'izut' Sutton
In Section
Seekers of Perl Wisdom
|
|