in reply to Zipping the files

You can use the command-line versions of zip or 7zip easily enough. On the off chance that this is part of a larger Perl-driven process, you have two approaches:

system('zip',$zipfile_name,'*.pdf'); ## don't forget to check $? for errors

Or, you can use something like:

use Archive::Zip; my $zip = new Archive::Zip; for (glob '*.pdf') { my $member = $zip->addFile($_); $member->desiredCompressionMethod( COMPRESSION_DEFLATED ); } die "Can't write zip file" if $zip->writeToFileNamed('pdfs.zip') != AZ +_OK;

This is untested, of course, but it should be basically correct.

<-radiant.matrix->
Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
The Code that can be seen is not the true Code
"In any sufficiently large group of people, most are idiots" - Kaa's Law