On Wed, 3 May 2000, Doug MacEachern wrote:

> On Mon, 1 May 2000, Stas Bekman wrote:
> 
> > That [the name] would be confusing. How about:
> 
> not if you think of it in terms of an apache table:
> 
> PerlSetVar => ap_table_set
> PerlAddVar => ap_table_add

OK, if this is the case, I'd prefer to have only one variable type -- an
array - so $r->dir_config will always return a list. So if it's a sigular
value, it'll be the first element. If you want it to be a hash -- you can
have it as well. This makes thing simple and even eliminates the need for
PerlSetVar, you can have only PerlAddVar for everything. 

______________________________________________________________________
Stas Bekman             | JAm_pH    --    Just Another mod_perl Hacker
http://stason.org/      | mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]  | http://perl.org    http://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
----------------------------------------------------------------------

Reply via email to