Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Filehandles vs Uninitialized Values in pattern matchby erroneousBollock (Curate) |
on Nov 23, 2007 at 16:34 UTC ( [id://652606]=note: print w/replies, xml ) | Need Help?? |
If the file is large you might not get great performance so YMMV. The file is not loaded into memory, so this will work even for gigantic files. I don't know if Tie::File seeks from the end for large/negative indexes, but it's surely possible for it to do so. I just read the code... please ignore. -David
In Section
Seekers of Perl Wisdom
|
|