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
In reply to Re^3: does not write to file anymore
by tachyon
in thread does not write to file anymore
by BzBeauty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |