On Tue, 11 Jun 2002, James Linden Rose, III wrote:
> I use somewhat large files in perl (most under 1 megabyte but over 
> 100K) and I've never had a memory problem (fingers crossed), but I am 
> wondering about using some rotating buffer techniques for when these 
> data files start to get larger.  What is the proper method for taking 
> a file of say 10,000 lines, and slurping up just lines 2,200 to 2,300?

Well, there's Tie::File.

http://perl.plover.com/TieFile/

Alan



Reply via email to