in reply to Re^2: Weird rename error
in thread Weird rename error

What version of File::Path and File::Copy do you have?

Replies are listed 'Best First'.
Re: Weird rename error: FIXED!
by datmrman (Initiate) on Jul 27, 2005 at 18:56 UTC
    Thank you all for your input. I have found the source of my headaches.

    I decided to print mkdir and rename commands out to a file and execute the list of commands from that file and noticed something weird.

    The $filename and $dir_path variables contained unreadable characters, which did not print out during the execution of the script, but did print out to a file. Using regular expressions, I was able to remove the unwanted characters.. and so far so good! Everything is being renamed as it should. Thanks again all for your input.