in reply to Reinventing wheels: query string parsing.
Also, it seems that if you have a string of the form:
o=foo&d=one&d=two&o=foo&d=three
you just end up with foo => 'three'.
Personally, I would write the final assignment as:
$args {$o} = \@opts;
so that my values are always array refs, and I don't have to make cases in the rest of the code.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Reinventing wheels: query string parsing.
by BUU (Prior) on Jul 27, 2003 at 21:03 UTC |