Hi,
incoming.pl, when ran from the web redirects standard error to standard out and turns debugging on. This was designed as a debugging mechinism. It was never designed to be ran from the web because of the time it can take to get large amounts of data can timeout a browser. If you must run it like this you can use `` (backtics) to catch the output from it.
So change your system() to something like:
my $output = `/usr/bin/perl /path/to/incoming.pl`;
# Do something with $output or just discard it.
Where /path/to is the full path.
Cheers,
Scott
incoming.pl, when ran from the web redirects standard error to standard out and turns debugging on. This was designed as a debugging mechinism. It was never designed to be ran from the web because of the time it can take to get large amounts of data can timeout a browser. If you must run it like this you can use `` (backtics) to catch the output from it.
So change your system() to something like:
my $output = `/usr/bin/perl /path/to/incoming.pl`;
# Do something with $output or just discard it.
Where /path/to is the full path.
Cheers,
Scott