Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

(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 drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2015-10-05 00:42 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (106 votes), past polls