Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

(RhetTbull) Re: TIE:: to a compressed file ?

by RhetTbull (Curate)
on Jul 22, 2002 at 23:15 UTC ( #184284=note: print w/replies, xml ) Need Help??

in reply to TIE:: to a compressed file ?

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.
  • Comment on (RhetTbull) Re: TIE:: to a compressed file ?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://184284]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2017-07-27 19:39 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (421 votes). Check out past polls.