Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

(tye)Re3: Cheap idioms

by tye (Sage)
on Oct 14, 2002 at 15:37 UTC ( [id://205123] : note . print w/replies, xml ) Need Help??


in reply to Re: (tye)Re2: Cheap idioms
in thread Cheap idioms

Yes, it doesn't seem hard at all does it? (:

It includes a description of what was being attempted ("open", though I'd probably opt for metioning that "read" access is what was required -- though I can understand not wanting to confuse people into thinking it was a read operation that failed while keeping the message short), the input data to the operation (the name of the file), and the correct error code indicating why it failed ($! in this case).

Unfortunately, that still makes it above average in my experience. ):

        - tye (who doesn't like error messages a la mode)