Ari B Kahn [[EMAIL PROTECTED]] quoth:
*>I'm running a perl CGI script that needs to execute another external perl
*>script on the same machine.  I would like to see the screen output of this
*>external script as well. What is a good way to do this?
*>
*>I was trying 
*>system ("/Users/username/perl_dir/perl_script --flags other_arguments");
*>
*>It doesn't seem to work though.

make sure you have -w
add a 'use CGI::Carp qw(fatalsToBrowser);'

which will spew all the errors to the browser

Also, you might want to do

system ("/Users/username/perl_dir/perl_script --flags other_arguments") or
die "script failed: $?";

e.

Reply via email to