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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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


In reply to Re: Remove CGI.pm from Perl Core? by FloydATC
in thread Remove CGI.pm from Perl Core? by rpnoble419

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-19 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found