Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: URI.pm bug or am i missing something?

by Juerd (Abbot)
on Apr 19, 2003 at 17:21 UTC ( [id://251685]=note: print w/replies, xml ) Need Help??


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).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found