use File::Find::Rule qw/ find rule / ; my @dirs = find( directory => maxdepth => 1, name => qr/tomcat_\d\d\d\d_\d\d/, )->in($startdir);
In reply to Re: Getting a list of directories matching a pattern (glob File::Find::Rule)
by Anonymous Monk
in thread Getting a list of directories matching a pattern
by Perlfan.Felix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |