We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Well, that doesn't exactly match your syntaxt, but I found
it on 3rd try, PHP::HTTPBuildQuery
Ok, here is a start (with help from Corion)
http://php.net/manual/en/function.http-build-query.php Ok, its the reverse of what you want, and the reverse of it seems to be http://www.php.net/manual/en/function.parse-str.php http://search.cpan.org/dist/PHP-Strings/Strings.pm#parse_str PHP::Strings::parse_str WILL NOT BE IMPLEMENTED.Ha ha, at least now you the real format this is supposed to take, and you write a module to bring this feature to the perl world For a reference implementation see http://phpjs.org/functions/parse_str:484, inifintely more readable than the php c-source maze The reference tests makes it seem doable mb_parse_str.phpt/ mb_parse_str02.phpt
In reply to Re^5: Building data structures from CGI params
by Anonymous Monk
|
|