in reply to Passing Data between Scripts
One solution that people didn't mention is running the final.pl script from the upload.pl script. If query.pl is a CGI script, then you can pass the parameters on the command line. Faking a POST is harder because it requires writing to the child process.
As long as the upload.pl does not write anything to the client, the final.pl script can write the entire response.
my $query = 'wddx=' . $packet; exec('final.pl', $query);
|
|---|