--- "Yacketta, Ronald" <[EMAIL PROTECTED]> wrote:
> Folks,
> 
> I have just completed a front-end enduser script that will take numerous
> input values that
> need to be passed onto other perl scripts depending on the user input.
> 
> Is there a clean way (other than command line) to pass on the variables from
> one
> script to another (the other scripts are called from within the front-end
> script)
> 
> Regards,
> Ron

Ron, 

That's a very difficult question to answer without more information.  I can think of a 
couple of
ways of accomplishing what you want, but "clean" is relative to your needs.  Do you 
need a
response from the other programs?  Do you just want to start them and have them run in 
the
background with no response?  Do you want to transfer control?

The most dangerous thing I can think of, off hand, is to use the system command or 
backticks, but
surely those will occur to some :(  Those two are really, really easy to get wrong.  
Even if you
get them right, others will happily come behind you and make 'em wrong again :)  
Forking can make
things a bit better there, but not all systems allow that.

Can the other scripts possibly be turned into modules?  Can you give us better 
information on the
information you are collecting and what you want to do with it?

Cheers,
Curtis "Ovid" Poe

=====
Senior Programmer
Onsite! Technology (http://www.onsitetech.com/)
"Ovid" on http://www.perlmonks.org/

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to