On Thu, Sep 27, 2001 at 07:42:03AM -0700, Doug MacEachern wrote:
> On Thu, 27 Sep 2001, Philippe M . Chiasson wrote:
>
> > Regarding that lengty thread about the list context version of the
>APR::Table->get/FETCH,
> > here is what I found....
> >
> ...
> > TIE=nope
> > METHOD=wantarray
>
> hmm, could be that @a = $table->{foo}; doesn't work in 1.x either. which
> would be good. ken is right, FETCH should not return a list. i think
> FETCH should always return the first value, if somebody wants multivalues
> they can use $table->get;
>
> > And the second, more problematic thing is having an XSUB return a list...
> >
> > Since all the XS wrapper code is automatically generated, using the
> > return type of the C-function (void or one element), you are always
> > stuck with a maximum of XSRETURN(1). I've looked around and couldn't
> > find a way to alter that.. Doug ?
>
> have a look at Apache__Access.h:MPXS_ap_get_basic_auth_pw
Ah ;-), guess I should have grep'ed some more. Thanks.
>
--
Philippe M. Chiasson <[EMAIL PROTECTED]>
Extropia's Resident System Guru
http://www.eXtropia.com/
Being an adult isn't about being grown up--it's about
realizing you need to grow up.
-- Larry Wall
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/&&print||$$++&&redo}'
msg01895/pgp00000.pgp
Description: PGP signature
