use File::Find; my @directories = @ARGV ? @ARGV : ('.'); find(\&wanted, @directories); sub wanted { return unless /\.pdf$/i; print "working with $File::Find::name\n"; }
In reply to Re: using s/// to remove file extensions
by inman
in thread using s/// to remove file extensions
by Plotinus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |