Re: Losing ENV variables

2005-09-08 Thread Perrin Harkins
On Thu, 2005-09-08 at 10:36 -0500, Boysenberry Payne wrote: > From Chapter 5 Maintaining State: > > It uses IPC::Shareable and requires Storable > It ties Perl data structures (scalars and hashes, but not arrays.) > the idiom: > tie %H, 'IPC::Shareable', 'Test', {create => 1, mode => 0666}; > on

Re: Losing ENV variables

2005-09-08 Thread Boysenberry Payne
I got the following from "Writing Apache Modules with Perl and C" by Lincoln Stein & Doug MacEachern From Chapter 5 Maintaining State: It uses IPC::Shareable and requires Storable It ties Perl data structures (scalars and hashes, but not arrays.) the idiom: tie %H, 'IPC::Shareable', 'Test', {c

Re: Losing ENV variables

2005-09-08 Thread Pratik
Have a look at http://perl.apache.org/docs/1.0/guide/config.html#PerlSetEnv_and_PerlPassEnv Thanks, Pratik On 9/7/05, Anthony Gardner <[EMAIL PROTECTED]> wrote: > Hola, > > We're using apache/1.3.33 and mod_perl/1.29. > > the problem is, a personal ENV variable is set in my > environment and r

Re: Losing ENV variables

2005-09-08 Thread Arun Pandey
Sent: Wednesday, September 07, 2005 9:09 PM Subject: Losing ENV variables > Hola, > > We're using apache/1.3.33 and mod_perl/1.29. > > the problem is, a personal ENV variable is set in my > environment and read from a script like . > > my $ENVNAME = $ENV{MY_PE

Re: Losing ENV variables

2005-09-07 Thread Boysenberry Payne
I think %ENV is particular to each apache child, so you might be "loosing" it because you're going to another child process. There are several modules that can help do this for you. I'm sure someone here can help you with some names. Otherwise you can look at using a database or flat file to s

Losing ENV variables

2005-09-07 Thread Anthony Gardner
Hola, We're using apache/1.3.33 and mod_perl/1.29. the problem is, a personal ENV variable is set in my environment and read from a script like . my $ENVNAME = $ENV{MY_PERSONAL_ENV} || 'STHELSE'; When the server is started a fresh, I can display my ENV on my webpage but when I press refre