in reply to Re^3: mysql error
in thread mysql error

However: cat /tmp/inc.6387

Fri Feb 16 18:55:35 2024 .

/usr/local/lib/perl5/site_perl/5.38.2/x86_64-linux

/usr/local/lib/perl5/site_perl/5.38.2

/usr/local/lib/perl5/5.38.2/x86_64-linux

/usr/local/lib/perl5/5.38.2

Replies are listed 'Best First'.
Re^5: mysql error
by Danny (Chaplain) on Feb 16, 2024 at 19:14 UTC
    Yeah, compare the paths in the /tmp/inc.XXX files to see how they differ. If the CGI version isn't printing the file maybe try to test the file open like:
    open $fh, ">", "/tmp/inc.$$" or die "error: failed to open file=/tmp/i +nc.$$ for writing.\n";
    If you know how to check if it's the CGI version you can change the file name from /tmp/inc.$$ to /tmp/inc.cgi or /tmp/inc.cl to make it easier to know which is which. But the time stamps should help with that as is.