On Sep 13, Tony Frasketi said:

    my($filename) = "/home/blahblah/cgi-bin/ifgen/ifgen.cgi
    my($command) = "/usr/bin/perl -c $filename";
    print "command[$command]<br>";
    my(@results) = `$command`;

'perl -c' sends its output to STDERR, not STDOUT. To catch that, I would suggest using the IPC::Open3 module, which comes with Perl.

--
Jeff "japhy" Pinyan        %  How can we ever be the sold short or
RPI Acacia Brother #734    %  the cheated, we who for every service
http://www.perlmonks.org/  %  have long ago been overpaid?
http://princeton.pm.org/   %    -- Meister Eckhart

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to