in reply to
[Windows] Given lower-cased file name, how to get actual file name (stored on filesystem) ?
How does the linked module address the problem? I fail to see documentation for "case-correction" in its documentation, unless you intend it to be a fancy wrapper around readdir.
$ 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
Ah, I thought there would be an approach not involving ->all, which is IMO not different from just using grep /one.pl/ readdir $foo. But at least it has a nice syntax. I was hoping for something more direct there.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (600 votes),