Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

(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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2015-11-26 17:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (705 votes), past polls