Replace the find(\&zip_file, $dir); line with something like:
foreach my $file (glob("$dir/*.log")) { $zipped = $zip->addFile( $file ); }
In reply to Re: Reading at File Level in Directories
by Joost
in thread Reading at File Level in Directories
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |