Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 studying the Monastery: (6)
As of 2014-12-22 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls