Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Can't remove directory-Permission denied ($^E)

by tye (Sage)
on Oct 22, 2012 at 16:57 UTC ( #1000384=note: print w/replies, xml ) Need Help??


in reply to Can't remove directory-Permission denied

FYI, this is one of the cases where $^E is more informative than $! (on Windows). For this failure, it would report:

The process cannot access the file because it is being used by another + process

When writing Perl code that will only be run on Windows, I sometimes report $^E as well as or instead of reporting $!. Most of the time it doesn't matter. But there are a few cases where $^E more accurately points to the real source of the failure.

- tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000384]
help
Chatterbox?
[karlgoethebier]: Discipulus: worst band you heard in your live: https://www. youtube.com/watch? v=582FrJaDMOk
[karlgoethebier]: ...ever...
[karlgoethebier]: ...probably to much Panzerschokolade

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-07-25 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (369 votes). Check out past polls.