Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 studying the Monastery: (9)
As of 2014-09-20 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (159 votes), past polls