Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Get those parameters without CGI.pm

by Anonymous Monk
on Dec 25, 2011 at 16:47 UTC ( #945070=note: print w/replies, xml ) Need Help??


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

It is such a frequent and impressive waste of time that Ovid wrote use CGI or die; and Ovid's CGI Course 10 years ago, 6 years after CGI obsoleted all imitators

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"

See also PSGI/Plack, written 2 years ago, it is the next generation , beyond the CGI (note, not CGI.pm )

  • Comment on Re^3: Get those parameters without CGI.pm

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2019-11-13 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (74 votes). Check out past polls.

    Notices?