Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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.

Replies are listed 'Best First'.
Re^3: Checking success of open() on file held in scalar ref.
by MidLifeXis (Monsignor) 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?
[beech]: why is my butt itchy
Discipulus many countries without bidet.. is a big problem!
[beech]: who told you i call my butt france?
Discipulus ??
beech waves a white flag -- no detectible causes of itch

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2016-12-09 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (150 votes). Check out past polls.