#!/usr/bin/perl -w use strict; use Archive::Zip; use IO::All; my $io = io("."); my $zip = Archive::Zip->new(); my $t1 = time(); while ( $_ = $io->next ) { $zip->addFile("$_") if $_ =~/\.txt$/; } $zip->writeToFileNamed('ZipFile.zip'); print "\n", time() - $t1, "\n";
I'm using Linux on a PIV 1.7Ghz with 256Mb Ram
In reply to Re: Archive::Zip performance question
by Miguel
in thread Archive::Zip performance question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |