This is fairly easy to do.  Script one can set the information in
environment variables and script two can pick them up as follows:

script1.pl

$ENV{VAR1}='data element1';
$ENV(VAR2) = 'data element2';
system('/somepath/script2.pl');

script2.pl

$x1 = $ENV{VAR1);
$x2 = $ENV(VAR2);

$x1 and $x2 now contains information from the first script


regards

adrian


-----Original Message-----
From: mas [mailto:[EMAIL PROTECTED]]
Sent: Friday, 19 October 2001 06:11
To: [EMAIL PROTECTED]
Subject: How to send parameters from script to scritp? 


Hello all, I need some help sending variables from a perl script to
anohter.
Here is what I got:
-A html form that gathers values. These values are sent to the perl
script.
-I execute the script successfully and then I want to call another
script and use
those values from the html form.

I am using HTML,Perl-DBI and Myslq.

How can I do that?, please help me.

mas.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to