Hello,
       passing data /  ( or sharing data, information ) between two processes can be done
1. Writing the content in one file from 1st process and then reading from second process.
    you can do it, using simple text file or using seriallization.
2. Second way is through sockets. Once program writes in a socket and the other program
    reads from socket ( tcp Ip or any other protocol).

    Please do understand that programs run in diffrent space and can not use the memory space
    of other.

Hope this helps
Cheers
Madan



Brian Volk wrote:
Hello,

 

Is there a way to pass a variable from one program to another?  I have a
web site that allows the user to set the time they would like to
download a file... The program uses the Linux "at" command and launches
another perl program that does the actual FTP download.  I would like to
pass a parm variable (email address) from the web site, captured in the
first perl program to the second perl program.  Is this possible?

 

First program uses this line to queue the job 

 

system "/usr/bin/at $hour:$minute $tod today < /var/www/cgi-bin/images";


 

images is a text file containing the perl program that runs the FTP
download:

 

perl /var/www/cgi-bin/get_image_file.pl 

 

 Is there a way to pass a variable from program 1 to program 2?

 

Thanks for your help!!

 

Brian Volk

 

           

 


  


--
/home/madank/personal/signature.html MyselfThanx & Regards !!
from Madan
Interra Systems India Pvt. Ltd.
A10, Sec9,NOIDA Ph: 0120-2442273/4 Ext 137
             visit my homepage
           




Reply via email to