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

Re^2: Checking success of open() on file held in scalar ref.

by djp (Hermit)
on Nov 15, 2007 at 05:56 UTC ( #650925=note: print w/ replies, xml ) Need Help??


in reply to Re: Checking success of open() on file held in scalar ref.
in thread Checking success of open() on file held in scalar ref.

Suggest checking for print failure, as well as close failure, via 'print FH or die $!'. Use /dev/full for testing this otherwise hard-to-test condition.


Comment on Re^2: Checking success of open() on file held in scalar ref.
Select or Download Code
Re^3: Checking success of open() on file held in scalar ref.
by MidLifeXis (Prior) on Nov 15, 2007 at 19:23 UTC

    What OS contains /dev/full?

    --MidLifeXis

      Linux, should've mentioned that.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-08-22 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (147 votes), past polls