Re: Env variables readable by an application
- From: madslashers2002@xxxxxxxxx (Travis Thornhill)
- Date: Fri, 28 Dec 2007 00:24:07 -0800 (PST)
"Chas. Owens" <chas.owens@xxxxxxxxx> wrote:
No, environmental variables are a per-process thing. Child processes
inherit the state of their parent's environment, but that is it. If
you need inter-process communication you have to use IPC*, a file, a
database, or some other external resource. Take a look at
IPC::SharedCache** or one of the other IPC modules*** on CPAN.
Depending on your needs a simple file might suffice though.
Unfortunately you're right. I waded through perldocs and found that there is no way I can set env variables that other processes can access. But using a file will actually be easier. Thanks for the assistance.
- Travis.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
- References:
- Re: Env variables readable by an application
- From: Chas. Owens
- Re: Env variables readable by an application
- Prev by Date: Re: Env variables readable by an application
- Next by Date: configuring startperl during make ?
- Previous by thread: Re: Env variables readable by an application
- Next by thread: configuring startperl during make ?
- Index(es):
Relevant Pages
|