in reply to File:Find pattern match question
#!/usr/bin/perl -- use strict; use warnings; use File::Find::Rule qw/ find /; my @dirs = find( -directory , name => qr{([IPD]\d{8}$)}, -in => $wellpath, ); print join "\n", @dirs, '';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File:Find pattern match question
by RockE (Novice) on Oct 31, 2013 at 13:30 UTC | |
by Anonymous Monk on Nov 01, 2013 at 02:51 UTC |