Newbie: how to use PerlSetVar

2002-11-20 Thread Beau E. Cox
Hi - I'm new to mod_perl, so here's my query: May I use PerlSetVar/PerlAddVar statements in the httpd.conf file for my own use? What about namespaces, i.e. how do I avoid stepping on someone else's variable? Assume I can. How can I access those variables from my mod_perl scripts? How can I set

Re: Newbie: how to use PerlSetVar

2002-11-20 Thread domm
Hi! On Mit, Nov 20, 2002 at 12:48:34 -1000, Beau E. Cox wrote: May I use PerlSetVar/PerlAddVar statements in the httpd.conf file for my own use? Yes. Thats what they are here for. What about namespaces, i.e. how do I avoid stepping on someone else's variable? Prepend some custom string in

Re: Newbie: how to use PerlSetVar

2002-11-20 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: What about namespaces, i.e. how do I avoid stepping on someone else's variable? Prepend some custom string in front of the VarName: PerlSetVar MyApp_Var1 value1 PerlSetVar MyApp_Var2 value2 Also, note that these are scoped within the Location block where they

RE: Newbie: how to use PerlSetVar

2002-11-20 Thread Beau E. Cox
PROTECTED]] Sent: Wednesday, November 20, 2002 1:09 AM To: Modperl Subject: Re: Newbie: how to use PerlSetVar Hi! On Mit, Nov 20, 2002 at 12:48:34 -1000, Beau E. Cox wrote: May I use PerlSetVar/PerlAddVar statements in the httpd.conf file for my own use? Yes. Thats what they are here for. What