I have mostly figured out how to add files to a zip archive using
Archive::Zip::addTreeMatching but I'm getting hung up on what seems to
be a subtle point.  I have a line that adds files to an archive
directory if they're text or INI files:
 
$objZip->addTreeMatching( $workingdir, 'config', "\.(ini|txt)");
 
But the following line doesn't work for adding what is remaining to
another archive directory :
 
$objZip->addTreeMatching( $workingdir, 'results', "!\.(ini|txt)");

I'm sure I'm overlooking something minor; assistance is always greatly
appreciated!
 
 - Joe
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to