Re: inconsistency between CGI.pm and Apache::Request

2001-11-06 Thread Lincoln Stein
I'm amazed that CGI.pm does this, but you're right. What's bad is that this style doesn't work as expected: p $r-param(foo=[qw(a b c)]) Lincoln Tatsuhiko Miyagawa writes: On Thu, 1 Nov 2001 09:58:39 - Matt Sergeant [EMAIL PROTECTED] wrote: I guess so. Your above is

RE: inconsistency between CGI.pm and Apache::Request

2001-11-06 Thread Lincoln Stein
No, it certainly isn't clean. Neither is Perl's API! Lincoln Matt Sergeant writes: -Original Message- From: Tatsuhiko Miyagawa [mailto:[EMAIL PROTECTED]] On Thu, 1 Nov 2001 09:58:39 - Matt Sergeant [EMAIL PROTECTED] wrote: I guess so. Your above is

Re: inconsistency between CGI.pm and Apache::Request

2001-11-06 Thread Tatsuhiko Miyagawa
On Tue, 6 Nov 2001 15:52:20 -0500 Lincoln Stein [EMAIL PROTECTED] wrote: I'm amazed that CGI.pm does this, but you're right. What's bad is that this style doesn't work as expected: p $r-param(foo=[qw(a b c)]) That's it! Any plan to fix this *strange* behaviour? -- Tatsuhiko Miyagawa

RE: inconsistency between CGI.pm and Apache::Request

2001-11-01 Thread Matt Sergeant
-Original Message- From: Tatsuhiko Miyagawa [mailto:[EMAIL PROTECTED]] There is some inconsistency between CGI.pm and Apache::Request's param() method, especially in handling of multivalued parameter. $q = CGI-new; $q-param(foo = qw(a b c)); @foo = $q-param('foo');

inconsistency between CGI.pm and Apache::Request

2001-10-31 Thread Tatsuhiko Miyagawa
There is some inconsistency between CGI.pm and Apache::Request's param() method, especially in handling of multivalued parameter. $q = CGI-new; $q-param(foo = qw(a b c)); @foo = $q-param('foo'); # ('a', 'b', 'c') $q-param(bar = [ qw(a b c) ]); @bar = $q-param('bar'); #

Re: inconsistency between CGI.pm and Apache::Request

2001-10-31 Thread Robert Landrum
There is some inconsistency between CGI.pm and Apache::Request's param() method, especially in handling of multivalued parameter. $q = CGI-new; $q-param(foo = qw(a b c)); @foo = $q-param('foo'); # ('a', 'b', 'c') $q-param(bar = [ qw(a b c) ]); @bar = $q-param('bar'); #