Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 28
Status: resolved
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: siracusa [...] mindspring.com
Cc:
AdminCc:

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



Subject: Changing query params is unnecessarily cumbersome
Download (untitled) / with headers
text/plain 395b
Changing the value of a query param should be easier than this: $uri = URI->new('http://foo.com/goo?a=1&b=2&c=3'); %query = $uri->query_form; $query{'a'} = 99; $uri->query_form(%query_form); Please let me do something like this: $uri = URI->new('http://foo.com/goo?a=1&b=2&c=3'); $uri->query_param(a => 99); and this: print $uri->query_param('b'); # prints 2


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.