Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

(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 imbibing at the Monastery: (13)
As of 2015-03-04 19:33 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (126 votes), past polls