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
Hi,
I think that you are looking for a serialization mechanism.
For that you can use the Storable module
(http://search.cpan.org/~ams/Storable-2.16/Storable.pm)
All you need to do is to freeze the variable in the first process, send it by
pipe and thaw it in the other process.
Yaron Kahanovitc
> -Original Message-
> From: Andy Greenwood [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 17, 2007 12:51 PM
> To: Brian Volk
> Cc: beginners@perl.org
> Subject: Re: pass variable to another program
>
> On 5/17/07, Brian Volk <[EMAIL PROTECTED]> wrote:
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 FT
On 5/17/07, Brian Volk <[EMAIL PROTECTED]> 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 d