Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: [Windows] Given lower-cased file name, how to get actual file name (stored on filesystem) ?

by Anonymous Monk
on Oct 22, 2012 at 13:14 UTC ( #1000333=note: print w/ replies, xml ) Need Help??


in reply to Re^4: [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) ?

I thought maybe ->resolve would do it but it doesn't , its just like rel2abs

$ perl -MFile::Spec -le " print File::Spec->rel2abs( shift ) " tmp\tmp +blah\done.pl D:\tmp\tmpblah\done.pl $ perl -MPath::Class -le " print file( shift )->resolve " tmp\tmpblah\ +done.pl tmp\tmpblah\done.pl $ perl -MPath::Class -le " print file( shift )->resolve->absolute " tm +p\tmpblah\done.pl D:\tmp\tmpblah\done.pl


Comment on Re^5: [Windows] Given lower-cased file name, how to get actual file name (stored on filesystem) ?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000333]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-07-29 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls