For most purposes, I've found it much easier to just make a system call to
an external program rather than using a Perl module. I've messed with
Compress::Zlib a bit, which is a standard module, but it seemed to be
overkill for what I needed.

For example, if you have WinZip on your box, you can access it via a system
call. I don't know the full command line syntax since I don't use it myself,
but you can get details from http://www.winzip.com/xcmdline.htm.

Personally, I use Zip (http://www.info-zip.org/pub/infozip/) since it's free
and I can put it on as many servers as necessary. In fact, I believe that
its compression engine is what powers Compress::Zlib. Again, you can just
use a system call for this.


-----Original Message-----
From: Rich Fernandez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 2:51 PM
To: [EMAIL PROTECTED]
Subject: zipping files with Active State Perl


Does anyone know how to zip files with Perl on a windows platform?
I have a couple of directories that I want to zip up and archive
periodically.

Thanks!

richf



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to