Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Delete a folder with long path

by Discipulus (Canon)
on Jan 05, 2017 at 09:25 UTC ( [id://1178999]=note: print w/replies, xml ) Need Help??


in reply to Delete a folder with long path

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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-18 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found