Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Jari Aalto
September 13, 2005, 7:18 pm
rate this thread
[Please retain CC if you reply]
What is are the modules to work efficiently with archives
that used bzip2 compression?
There seem to be CPAN modules
But the integration of these to handle bz2 archives is not mentioned.
Could someone point me to example code or further ideas?
Use Licenses! http://www.linuxjournal.com/article.php?sid=6225
Which Licence? http://www.linuxjournal.com/article.php?sid=4825
OSI Licences http://www.opensource.org/licenses /
Re: Archive::Tar and how to handle *.bz2 archives?
Afaik Archive::Tar doesn't handle bz2 archives. So you'll have to use
Compress::Bzip2 to handle the compression/decompression, and Archive::Tar to
handle the tarring/untarring.
The test scripts that come with the source of both modules should contain
code that you'll find helpful. And there's also 'perldoc Archive::Tar' and