Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: File::Find: Problem with renaming folders recursively

by bellaire (Hermit)
on Mar 20, 2009 at 14:09 UTC ( [id://752044]=note: print w/replies, xml ) Need Help??


in reply to File::Find: Problem with renaming folders recursively

I may be missing something, but don't you need to chdir into $path before you'll be able to descend into its subdirectories?

Update: Ah, I did miss something, namely this passage from the documentation:
You are chdir()'d to $File::Find::dir when the function is called, unl +ess no_chdir was specified.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found