On Mon, 1 May 2000, Stas Bekman wrote:
> > It would be nice, in my opinion, to have some way of doing:
> >
> > PerlAddVar Fred "Value 1"
> > PerlAddVar Fred "Value 2"
> >
> > And then in your script:
> >
> > my @values = $r->dir_config('Fred');
> >
> > which gets ("Value 1","Value 2") in @values.
> >
> > Any thoughts on this? (I'm not set on the name PerlAddVar, if that's
> > anyone's concern - but what about the idea of it?)
>
> That [the name] would be confusing. How about:
>
> PerlSetScalar Foo Bar
>
> PerlSetArray Foo A B C
> PerlPushArray Foo D
>
> PerlSetHash Foo key val
Sounds cool to me. Naming things is still the hardest problem in Computer
Science today... :-)
--
<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