in reply to Get latest file created or modified & matching part of file name :
The pattern (not a regular expression though) you have given could be used with glob. my @files = map { [ stat $_, $_ ] } glob "$DIR/*regular*100.0.7.9*failed*";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get latest file created or modified & matching part of file name :
by rinkish85 (Novice) on Oct 21, 2016 at 16:29 UTC |