Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- File::glob pattern matching
June 22, 2012, 7:36 pm
rate this thread
Re: File::glob pattern matching
But is explicitly supported in File::Glob, and also works in
tmp> touch aa12bb
tmp> perl -le '@f=3Dglob(q(aa[0-9]bb));print for @f'
Now, it is correct that [[:digit::]] doesn't work (and should?)
tmp> perl -M'File::Glob qw(:glob)' -le \
'@f=3Dglob(q(aa[[:digit:]]bb));print for @f'
- » Losing $1 and $2 variables in my search and replace expression
- — Previous thread in » PERL Discussions