Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: using Archive::Tar

by Tux (Monsignor)
on Oct 05, 2011 at 08:17 UTC ( #929733=note: print w/ replies, xml ) Need Help??


in reply to Re^3: using Archive::Tar
in thread using Archive::Tar

For compressing a single file, why use perl? You could use gzip on the command line.

If it needs to be in perl, look at Compress::Zlib. The manual has lots of info about gzip support.

$dest = Compress::Zlib::memGzip ($buffer); $dest = Compress::Zlib::memGunzip ($buffer);

Enjoy, Have FUN! H.Merijn


Comment on Re^4: using Archive::Tar
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929733]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-12-21 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls