Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Delete a folder with long pathby Discipulus (Canon) |
on Jan 05, 2017 at 09:25 UTC ( [id://1178999]=note: print w/replies, xml ) | Need Help?? |
Hello Anusha4268 and welcome to the monastery! 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*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|