http://qs321.pair.com?node_id=178413


in reply to Re: CGI troubles - not writing to file
in thread CGI troubles - not writing to file

That's really strange, your script worked for me (perl 5.6.1, apache 1.3.20) !

Could there be a problem with the relative paths to the files ?

---- kurt
  • Comment on Re: Re: CGI troubles - not writing to file

Replies are listed 'Best First'.
Re: Re: Re: CGI troubles - not writing to file
by amphiplex (Monk) on Jul 01, 2002 at 08:57 UTC
    One suggestion that could solve this mystery:
    Try to catch the error of close(BACKUP):
    close(BACKUP) or show_error ("error closing [$index_backup]: $!");
    It is generally a good idea to check even close for errors.

    ---- kurt