in reply to recursively scanning directories
if($File::Find::name !~ m/\./)
This condition is redundant. Every file by definition has a name, so every file matches the regexp.
Update: Beatnik points out below that the regexp is not a redundancy, merely a mistake. It has the effect of not including all filenames with dots in them, e.g., myfile.txt and myscript.pl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: recursively scanning directories
by Beatnik (Parson) on Jun 19, 2001 at 14:01 UTC |