On Dec 28, 2007 2:24 AM, Travis Thornhill <[EMAIL PROTECTED]> wrote: snip > Is there a way to do this? In other words, is there a way to > set env variables that ANY user and ANY application can see? snip
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. * that is what it stands for after all. ** http://search.cpan.org/dist/IPC-SharedCache/SharedCache.pm *** http://search.cpan.org/search?query=IPC -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/