in reply to how to run a python web application from within a perl script

Use a piped open to feed the data to the python script:

my @data = genData(); my $pid = open OUT, '-|', 'python theScript.py' or die; print OUT $_ for @data; close OUT; waitpid $pid, 0; ## The python script has finished.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP PCW It is as I've been saying!(Audio until 20090817)