[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] HELP! one perl program running another



I have one perl program that I use to (among other things) display a screen
when I wish to let the user know that the process will take awhile.

So ..what i do is this:

body of text I want to display in browser
etc
etc
etc...


$n= `perl PERLPROGRAMNAME.PL $variable1 $variable2 $variable3`;

where the variables were sent from the form that called my MAIN perl program.
The Main program then messes with the data, and passes it to a third program.

My trouble is this:  NONE OF THE BODY OF THIS MAIN PROGRAM will display on
the browser until the subprogram ($n) finishes.

I dont care if $n is blank or not when I get done, i was just told this was
the only way to call a perl program from another perl program.

is it?  I really want the user to be able to do other things while I am
compiling the data in PERLPROGRAMNAME.PL.

ps:  running linux3.0.3 w/apache 1.0.5

HELP!

**
professional site:  http://www.jann.com/
personal site:       http://www.jann.com/jann/
email:                  mailto:webmaster@jann.com
**
Funniest definition I've ever heard:
(by Alex Satrapa <mailto:packrat@blitzen.canberra.edu.au>)
Windows 95: n. 32 bit extensions and a graphical shell for a 16 bit patch
to an 8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company.



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch