Subject: | Changing query params is unnecessarily cumbersome |
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