in reply to URI.pm bug or am i missing something?
I would call this not a bug, but lack of feature.
Your way of handling is scary, though, because it means things are not what you expect them to be if there are multiple values with the same key. In PLP I chose to have both an array and a scalar for each name. With your example, you'd end up with something like:
{ 'foo' => 'baz', '@foo' => [ 'bar', 'baz' ] }
Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).
|
---|