Problem: perl script (slightly modified DOMPrint.pl) runs perfectly from the command line but when the very same script is called from PHP (or, in fact, directly as CGI from Apache) it produces not errors and no output.
Envirnoment:
Linux 6.2
Perl 5.6.1
Apache 1.3.20
PHP 4.0.6
Xerces-p 1.5.2.0
The only modifications I've made to the DOMPrint.pl are to harcode the command line options and to add 'print "Content-type: text/plain\n\n' at the beginning to enable viewing directly as CGI.
If I comment out the call to $parser->parse(... the CGI and PHP work; put it back in and there are no errors. Even if I use the perl eval construct to try and trap whatever is happening, it produces no output or errors.
Please someone help!!!