Add methods similar to URI->query_form that allow accessing and setting query form parameters on an IRI. For the setter methods, consider returning new IRI objects instead of mutating the existing object:
my $iri = IRI->new('http://example.org/?name=test');
say $iri->query_form('name'); # test
my $iri2 = $iri->query_form('name' => 'hello');
say $iri2->as_string; # http://example.org/?name=hello
Add methods similar to
URI->query_form
that allow accessing and setting query form parameters on an IRI. For the setter methods, consider returning newIRI
objects instead of mutating the existing object: