Ahhhh ... throwing monkey wrenches into my code, are we? ;)
This, of course, is not going to work, because you have a key collision with 'jim'. If you dump the hash refs out, you get something like:
I think there is a way to coerce URI::QueryParam into producing a data structure like so:$VAR1 = { 'jack' => '2', 'joe' => '1', '3' => undef, 'jim' => '4' }; $VAR2 = { '4' => undef, 'jack' => '2', 'joe' => '1', 'jim' => '3' };
but the point is growing moot, as halley pointed out and ikegami (and myself) how now discovered. :/$VAR1 = { 'jack' => '2', 'joe' => '1', 'jim' => ['3','4'] };
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re^3: Compare URIs *params*
by jeffa
in thread Compare URIs
by gam3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |