A database would be an even better friend.
But if this is something like a log file, you will likely find that File::Tail does the trick for you.
BTW a warning. Unless your operating system and Perl both support filesizes over 2 GB, your file may wind up losing data. The solution to that is to break it into pieces and rotate it periodically.
In reply to Re (tilly) 1: Search Efficiency
by tilly
in thread Search Efficiency
by treebeard
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |