Problems? Is your data what you think it is? | |
PerlMonks |
(RhetTbull) Re: TIE:: to a compressed file ?by RhetTbull (Curate) |
on Jul 22, 2002 at 23:15 UTC ( [id://184284]=note: print w/replies, xml ) | Need Help?? |
Take a look at IO::Zlib. I believe it'll do exactly what you want -- that is, tie a compressed file and treat it like an ordinary file handle (a la Tie::File). In your case, I wouldn't keep the large data record compressed AND use a compressed data file -- I don't see that it buys you anything. Just use IO::Zlib and compress the whole file. --RT
In Section
Seekers of Perl Wisdom
|
|