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.
In reply to Re: File name search with regex
by NetWallah
in thread File name search with regex
by oldenuf2no
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |