in reply to Re^2: Creating a .zip file using perl
in thread Creating a .zip file using perl

Here is an alternative.
use IO::Compress::Zip qw(:all); zip [ glob("*.lib") ] => "my.zip" or die "Cannot create zip file: $ZipError" ;