Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: [Win32] Verify filename (case sensitively)

by rpnoble419 (Pilgrim)
on Oct 09, 2012 at 04:28 UTC ( #997920=note: print w/ replies, xml ) Need Help??

in reply to [Win32] Verify filename (case sensitively)

When I need to be cross platform compatible, I always use the lc() function on all of my file name vars. This way all of my files created by my applications are written with lower case characters. If I have to deal with client supplied files, I rename then to lower case and I take out the spaces under Windows.

my $filename=lc('NaMeoFfiLe.txt');

Comment on Re: [Win32] Verify filename (case sensitively)
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2015-10-04 03:42 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (98 votes), past polls