Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: file case change

by Caillte (Friar)
on Mar 15, 2002 at 15:07 UTC ( #151999=note: print w/ replies, xml ) Need Help??


in reply to Re: file case change
in thread file case change

Changing:

rename("$path/$_", lc("$path/$_")) or print "Couldn't rename $file: $!\n";

To

rename("$path/$_", "$path" . lc("/$_")) or print "Couldn't rename $file: $!\n";

Would allow upper case letters in your path.

This page is intentionally left justified.


Comment on Re: Re: file case change
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-07-04 20:28 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