> my %params = $r->method eq 'POST' ? $r->content : $r->args;
Why not parse both and merge them? But I would just use Apache::Request or CGI - they work, the authors have thought of things that we wouldn't, etc... It should be easy to replace the part of your code which reads in the get/post params with the equivalent in Apache::Request clint