in reply to Re^2: Get those parameters without CGI.pm
in thread Get those parameters without CGI.pm
It is interesting to see how people are against the idea of writing a replacement of CGI.PM because new code is worse to begin with.
Hi, you must be new :)
For years after CGI.pm appeared, people were still brokenly reinventing it
For years after CGI.pm was made a core perl module, people were still brokenly reinventing it, and then asking why their code is broken and how to fix it
And maybe it is okay to reinvent the wheel once in a while otherwise we can never make it rounder..
Yes, its ok to reinvent a wheel, like reinventing aspirin, but it has to be an obvious improvement, and you have to be able to make it yourself and be prepared for the appropriate amount of criticism
But, if you're advocating hitting yourself over the head with a rock as a replacement for aspirin , expect the worst :)
Take a look through the bug reports and changes files some time -- anyone reinventing CGI.pm is smart enough to make thrice as many mistakes :)
See CGI::Simple, its CGI.pm minus the html generation code (ie, its faster), written 10 years ago, through advanced reuse concept of "copy" and "paste"