in reply to Remove CGI.pm from Perl Core?

I see many people point out that they only use a tiny subset of CGI.pm these days, params() being the most common. I couldn't agree more. I never understood why in the world anyone bothered to implement a h1 method -- who in their right mind would use something like that? :-)

print h1({-align=>left}, 'What be this see-ess-ess thing?');
Would it be possible to chop CGI.pm into pieces, rewrite the stuff that's still in use, call it CGI.pm and keep it in core, and then eject the more exotic/old-fashioned stuff so that if you still want to use it you would install something like "CGI::Compat", "CGI::Legacy" or similar from CPAN?

Either way you choose to eject it from core (as I'm sure will happen sooner or later), it's not like this change would all of a sudden make all existing installations burn down, fall over and then sink into the swamp.

-- FloydATC

Time flies when you don't know what you're doing

Replies are listed 'Best First'.
Re^2: Remove CGI.pm from Perl Core?
by Anonymous Monk on May 28, 2013 at 18:57 UTC

    Would it be possible to chop CGI.pm into pieces, ...

    :) Another one, of course it possible, its already done, its called CGI::Simple -- this doesn't change anything about CGI.pm