On Tue, 2002-06-11 at 17:35, Simon Cozens wrote: > Bruno Tavares: > > @lines = <FILE>; > > Reading a huge file into memory at once considered harmful. >
Selector, Lev Y wrote: >> which would be the >> obvious solution for a short file). for a large file this module http://search.cpan.org/search?dist=File-ReadBackwards (referred by Ronald) would be a fair enough solution since it reads 8kb blocks into memory. > -- > Move 1 > pdcawley [11k]: This is, of course, where it all started to go wrong. -- Bruno Tavares <[EMAIL PROTECTED]>
