![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: Regex pattern to find directories only with digitsby reisinge (Hermit) |
on Apr 11, 2013 at 11:32 UTC ( #1028122=note: print w/replies, xml ) | Need Help?? |
In case you need to search recursively, you may use the File::Find core module:
find function from File::Find scans directories in @ARGV recursively and for each file calls the referenced function (coderef) get_dirs_with_numbers. Before calling your function find by default changes to the directory being scanned and sets the following variables:
Well done is better than well said. -- Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|