in reply to Globbing uncertainty
of course you can add a regex or any other code you like inside the grep{}.@files = grep{-f "$path_to_dir/$_"}readdir Dir;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Globbing uncertainty
by Tanktalus (Canon) on Nov 11, 2010 at 20:29 UTC | |
by Marshall (Canon) on Nov 11, 2010 at 20:58 UTC | |
by Anonymous Monk on Nov 11, 2010 at 23:48 UTC |