Max_Glink has asked for the wisdom of the Perl Monks concerning the following question:
I've written a 2 scripts. One which calls a command called lm which runs a tool use and dumps the output into a text file. The other is meant to run the first program and then retrieve the data from that text file and output it in html.
Everything works except for the call from one script to the other. I thought that the best method to use would be System but perhaps I don't understand how it works.
would it be wrong to just put: System("test.cgi");
I tried previously to do all of this in one file but I ran into problems with environment variables because the script that calls lm worked fine when running it from an xterm but through the web browser nothing happened.
Any help would be much appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: call another perl script
by tune (Curate) on Nov 04, 2000 at 01:16 UTC | |
|
RE: call another perl script
by arturo (Vicar) on Nov 04, 2000 at 00:07 UTC | |
|
Re: call another perl script
by metaperl (Curate) on Nov 03, 2000 at 23:55 UTC | |
|
Re: call another perl script
by roberto (Acolyte) on Nov 04, 2000 at 22:22 UTC | |
|
Re: call another perl script
by Max_Glink (Initiate) on Nov 03, 2000 at 23:45 UTC |