in reply to How to pass form data from a CGI script to its child process?
There's another option: you could use a module like LWP::UserAgent in ScriptA.pl to talk to ScriptB.pl through its URL. That way you can pass the parameters just as a browser would pass them, and ScriptB.pl doesn't have to be changed at all. ScriptA.pl just has to take the output of ScriptB.pl and do whatever you had in mind for it.
Aaron B.
Available for small or large Perl jobs; see my home node.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to pass form data from a CGI script to its child process?
by Nocturnus (Scribe) on Sep 05, 2012 at 07:54 UTC |