Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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.

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 2016-07-27 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.