While I've worked with Perl for a number of years, I just never had need to use File::Copy. When I tried, however, I came up short trying to copy with an asterisk for a wildcard.
#!/usr/bin/perl -w # use diagnostics; use strict; use warnings; use File::Copy; # copy("*.txt", "DIR1"); copy("one.txt", "DIR2")
What am I doing wrong? DIR1 is empty, and DIR2 has the one file.
RickIn reply to File::Copy and wildcards by RickNak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |