Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^2: does not write to file anymore

by BzBeauty (Sexton)
on Nov 05, 2004 at 01:03 UTC ( #405350=note: print w/replies, xml ) Need Help??

in reply to Re: does not write to file anymore
in thread does not write to file anymore


I put the code in

close F or die "Close $!\n";

And it died at this point. How do I check the $! ???


Replies are listed 'Best First'.
Re^3: does not write to file anymore
by tachyon (Chancellor) on Nov 05, 2004 at 01:12 UTC

    That statement should print whatever is in $! and $! should be set if the close fails. Have you checked to see if your disk is full? On *nix type df. If you have disk space try (on the command line)

    echo testing > somefile cat somefile

    Does that work?

    As well as checking disk free with df check quotas with quota

    quota your_username quota nobody quota apache

      I hadn't checked the disk space cause I was able to continue modifing the cgi file, and normally when I'm out of space I can't do that. But I decided to check it just in case. And voila! I'm out of space.

      Thank you oh so very much!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2019-12-10 07:36 GMT
Find Nodes?
    Voting Booth?

    No recent polls found