Apache.pm documents two methods "args" and "content" that should return
argument => value pairs (when called appropriately). In fact, args is
implemented as:
return map { Apache::unescape_url_info($_) } split /[=&;]/, $string, -1;
However, this might return an odd number of values, for example for this url:
httpurl?arg1&arg2=val2
I get (arg1 => "arg2", val2), which is not as documented.
This url format is often used for boolean arguments (CGI.pm creates an
arg1 => "", while I would prefer arg1 => undef in this case).
So either the documentation or the implementation is in error. I would
prefer if the implementation were in error ;)
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|