Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 32924
Status: rejected
Priority: 0/
Queue: CGI

People
Owner: MARKSTOS [...] cpan.org
Requestors: bkerin [...] fastmail.fm
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: url_param() method doesn't accept named arguments
Date: Mon, 04 Feb 2008 17:40:58 -0900
To: bug-CGI.pm [...] rt.cpan.org
From: "Britton Kerin" <bkerin [...] fastmail.fm>
Download (untitled) / with headers
text/plain 253b
I was surprised that url_param doesn't accept named arguments (i.e. url_param(-name => "foo"), doesn't seem to do what the param(-name => "foo") method does). I think it made it look like the parameter wasn't their which confuuuuused me :) Britton
Download (untitled) / with headers
text/plain 618b
On Mon Feb 04 21:41:41 2008, bkerin@fastmail.fm wrote: Show quoted text
> > I was surprised that url_param doesn't accept named arguments > (i.e. url_param(-name => "foo"), doesn't seem to do what the > param(-name => "foo") method does). I think it made it look > like the parameter wasn't their which confuuuuused me :)
Thanks for the feedback on CGI.pm. I'm rejecting this bug because CGI.pm is behaving as it is documented. I realize it's inconsistent to be different between the two methods, but I'd rather not add yet-another-way-to-things in this case. Lincoln may re-open this ticket if he feels differently. Mark


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.