If what you want is to copy several files to a directory probably not, i.e:
use File::Basename; use File::Copy; use Carp; open my $a, 'myfile.txt'; my ($f,$b,$c) = $fileparse("/home/me/my_dir/my_other_file.txt"); copy($a,$b) or croak; # Oops!
In reply to Re: File::Copy or system
by pvaldes
in thread File::Copy or system
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |