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

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

Ok,

I put the code in

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

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

thanks

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
      ok

      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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://405350]
help
Chatterbox?
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
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?