On Fri, 5 May 2000, Stas Bekman wrote:
> 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.
And/or PerlSetVar to reset the list to 1 element.
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org