in reply to CGI and Backticks

Most likely the credentials of the user running the CGI script are wrong for running the test script. Take a look in the server's log files for errors that look like permissions issues. It may help too to use:

use CGI::Carp qw(fatalsToBrowser warningsToBrowser);

to get errors and warnings delivered to your browser. The warnings appear in comments in the HTML.

True laziness is hard work

Replies are listed 'Best First'.
Re^2: CGI and Backticks
by agronbach (Novice) on Aug 29, 2011 at 22:33 UTC

    Forgot to mention that Carp is enabled. If it matters STDOUT and STDERR are redirected to the output file using IO::Handle. Similar to CGI Script backgrounding, I fork a child and a parent and have the parent redirect to the child's page where the child's STDOUT/STDERR are redirected to.

    I didn't think any of this should matter so I didn't include this in the question as this logic works BEAUTIFULLY in dashboard.pl itself. (Again, see CGI Script backgrounding for an explanation if you are curious about what dashboard.pl does).