Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use Archive::Tar; my $dir = 'copy'; my @files = <$dir/*>; my $count = @files; print $count; foreach $file (@files) { print $file; my $tar = Archive::Tar->new; $tar->add_files(@files); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: archive using tar
by derby (Abbot) on Apr 20, 2007 at 14:01 UTC |