Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 scrutinizing the Monastery: (11)
As of 2015-07-04 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls