in reply to File name search with regex
From the docs,
$File::Find::name is the complete pathname to the file.
So , it includes the directory path, which presumably does not start with "L", and will never match /^L/.
Use $_ inside the wanted function, to get just the file name.
Our business is run on trust. We trust you will pay in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File name search with regex
by oldenuf2no (Initiate) on Dec 08, 2015 at 15:27 UTC |