Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 contemplating the Monastery: (9)
As of 2014-09-22 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (182 votes), past polls