This wroks great, but now I want to search for file name beginning with certain characters. Is that possible?use File::Find; find(\&cleanup, "test"); # Subroutine that determines whether we matched the file extensions. sub cleanup { if (/\.pdf$/) { print "$File::Find::name\n"; } }
In reply to using File::Find to search for a particular file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |