You don't need the exTime option - when you give the "zip" sub a filename (or list of filenames) it automatically gets the timestamps.
use IO::Compress::Zip qw(zip $ZipError); zip [$0] => 'test.zip', Name => 'test.txt' or die "Cannot zip: $ZipError\n";
In reply to Re^7: Archive::Zip Modify Date Oddity
by pmqs
in thread Archive::Zip Modify Date Oddity
by lhchin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |