in reply to Delete a folder with long path
I guess you are using rmtree from the core module File::Path ..right?
Can you post a short example that demonstrate the behaviour you are facing? Remove all age checks and post the minimum code that reproduce your error along with the minimal file name lenght that provoke it. Remember to wrap the code in <code> .. </code> tags for readability.
Also tell us which OS are you running and what the error states: rmtree is a legacy interface to remove_tree one which provide also the possibility to specify options like verbose and safe .. Are you using them?
You receive the same error with the builtin system call ( rm -r on Linux or the Windows commands rd /S /Q )?
L*
|
|---|