See Path::Tiny it uses File::Copy
#!/usr/bin/perl -- use strict; use warnings; use Path::Tiny qw/ path /; for my $file ( path('.')->children(qr/.txt$/i) ) { $file->copy("DIR1/"); } path("one.txt")->copy("DIR2/");
In reply to Re: File::Copy and wildcards ( Path::Tiny )
by Anonymous Monk
in thread File::Copy and wildcards
by RickNak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |