Re: Problem with backtick command to compile a perl program

2005-09-13 Thread Tony Frasketi
Jeff 'japhy' Pinyan wrote: 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]"; my(@results) = `$command`; 'perl -c' sends its output to STDERR, not STDOUT. To catch

Re: Problem with backtick command to compile a perl program

2005-09-13 Thread Jeff 'japhy' Pinyan
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]"; my(@results) = `$command`; 'perl -c' sends its output to STDERR, not STDOUT. To catch that, I would suggest using the

Problem with backtick command to compile a perl program

2005-09-13 Thread Tony Frasketi
I can't seem to get any results back from compiling a perl progam from another perl program via the backtick method. My understanding that the output of the backtick command returns the results of the command executed into an array. And in the past I've used the backtick method successfully for