Ville Skytt� <[EMAIL PROTECTED]> writes:

> >     $u->query_param(foo => 1);
> >     print $u;                 # prints "?foo=1"
> >     print $u->query-sepchar;  # prints "&"
> > 
> >     $u->query_param(foo => 1..3);
> >     print $u;                 # prints "?foo=1;foo=2;foo=3"
> 
> Shouldn't that last statement print "?foo=1&foo=2&foo=3" or did I get
> something wrong here?

Yes.  That was what I tried to illustrate.  Cut&pasto.

> However, if the query_param method interface has been there for only a
> couple of days now, perhaps it wouldn't be impossible to change it to
> have the sepchar there and quickly release URI-1.23.

The sepchar proposal as it stands now is backwards compatible and can
go in anytime.  You want to extend the new query_param() in some way?

> I don't have the previous messages around any more, but ISTR there
> was some problem with the even/odd-number-of-args approach?

I don't remember any problem with it.

Regards,
Gisle

Reply via email to