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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.