in reply to Re^2: [Windows] Given lower-cased file name, how to get actual file name (stored on filesystem) ?
in thread [Windows] Given lower-cased file name, how to get actual file name (stored on filesystem) ?
$ md tmpblah $ echo > tmpblah\aone.pl $ echo > tmpblah\bOne.pl $ echo > tmpblah\cONe.pl $ echo > tmpblah\dONE.pl $ perl -MPath::Class::Rule -le "print for Path::Class::Rule->new->file +->iname(qr/.one.pl/)->all(q/tmpblah/) " tmpblah\aone.pl tmpblah\bOne.pl tmpblah\cONe.pl tmpblah\dONE.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: [Windows] Given lower-cased file name, how to get actual file name (stored on filesystem) ?
by Corion (Patriarch) on Oct 22, 2012 at 13:08 UTC | |
by Anonymous Monk on Oct 22, 2012 at 13:14 UTC |