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

Don't forget that that File::Find has chdired to the directory before &wanted() is called (you can't change the name of a directory whilst it is the current working directory) - I suspect that the postprocess & bydepth options may well be of use....

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^2: File::Find: Problem with renaming folders recursively
by larus (Acolyte) on Mar 20, 2009 at 14:33 UTC
    Thanks for your replies. Anyway, I don't understand how should I modify this code. I'm very new to Perl.