Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: 'open for read' fails as "no such file or directory" but file is there

by talexb (Chancellor)
on Nov 02, 2016 at 21:09 UTC ( [id://1175179]=note: print w/replies, xml ) Need Help??


in reply to Re^4: 'open for read' fails as "no such file or directory" but file is there
in thread 'open for read' fails as "no such file or directory" but file is there

Absolutely right. My current preference to hand-rolled exceptions is based on my current environment, one that I'm reluctant to modify (it's git-bash running on an Azure cloud). However, I did just check, and autodie is present in this installation (5.22.0), so I will try it the next time I build a script.

Mostly, what also contributes to me attitude about error-checking is my background as a C programmer -- my experience has taught me to be pessimistic, and check for errors just about everywhere. :)

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

  • Comment on Re^5: 'open for read' fails as "no such file or directory" but file is there

Log In?
Username:
Password:

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

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

    No recent polls found