Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2015-05-29 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (576 votes), past polls