Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Permission denied when opening files in Windows ($! $^E)

by tye (Sage)
on Mar 28, 2015 at 04:44 UTC ( [id://1121613]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Permission denied when opening files in Windows
in thread Permission denied when opening files in Windows

it is better not to have "\n" at the end of the die message. You get more information from $! without it.

The extra information has nothing to do with $! (see die for details).

BTW, since you (the OP) are using Windows, you may want to include $^E in addition to $! as $^E will sometimes have a more to-the-point explanation, especially in "permission denied" scenarios.

- tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-24 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found