in reply to Re: Regex for files
in thread Regex for files
readdir is low level :) Path::Tiny is a whole nother level :P
use Path::Tiny qw/ path /; print "$_\n" for path('.')->children( qr /^messages(?:\.\d?)?$/ ) ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex for files (path::tiny)
by shmem (Chancellor) on Apr 23, 2015 at 12:16 UTC | |
by Anonymous Monk on Apr 23, 2015 at 15:38 UTC | |
by shmem (Chancellor) on Apr 23, 2015 at 21:09 UTC | |
by Anonymous Monk on Apr 24, 2015 at 00:23 UTC |