Hi Anjan,

ANJAN PURKAYASTHA wrote:
shawn,
thanks for the pointers.
looks like you have saved me from buying more disks ;)!
anjan

A bit too late, but another option is to compress the input file using gzip and then read it in a line at a time and decompress in-memory. Then, write it out also in compressed format. I think one of the gzip libraries such as:

http://search.cpan.org/~nwclark/PerlIO-gzip-0.18/gzip.pm

might do the trick. Of course, the first gzip steps needs space to output the file, so you may still run into the same problem. :-)

Ray


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to