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.
In reply to Re: How to pass form data from a CGI script to its child process?
by aaron_baugher
in thread How to pass form data from a CGI script to its child process?
by Nocturnus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |