...my "home rolled" cgi-parser may not be the best, fastest, most secure function in the world, but it does exactly what i want and tell it do...
Let's go over a few points. I'm not sure you quite understand what your telling CGI.pm:
- The functionality of all CGI is to slurp up stdin on a post. Is this where you are having problems?
- Arrays are returned for parameters in case multiple values are returned for a single parameter. With your question, what value for name would be returned in a scalar? How else do you handle two values with one variable> Also, it would be returned as an array in Java and PHP, I believe.
- "Using functions to output wellformed html" - Don't assume there is one way of doing things in perl. Many monks use a templating system of some sort to do the HTML output. You can do it with CGI.pm if you wish, but I wouldn't suggest it as a final solution.
- You can get the request method by checking $ENV{REQUEST_METHOD}
- I'm also sure that a module could be written as secure as CGI.pm, but why chance it. CGI.pm has been used for a long time, and if there were a major security issue with it still, it would be known by now.
Rather than bash a module simply because its not doing what you think it should do in this forum, why not just ask the questions, or do some of the research on your own? I'm sure many of us would be glad to answer your questions, and I, for one, would definately suggest that you look into a copy of CGI Programming with Perl.