Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I rather think it is the point. The poor OP just wants Perl to let him use the Common Gateway Interface method for getting URL parameters into a Perl script, and he's run into the fact that CGI.pm is no longer in core, so CGI isn't as easy as it could be. Now he'll need to learn how to install modules.

We've made it difficult for anybody to use the Common Gateway Interface by removing CGI.pm from core and then expecting the person to wade through all of our we-know-better information about the PSGI protocol, available frameworks, why a template system is needed, why CGI.pm's HTML generating functions are evil, why it's better to have a persistent web server as compared to the Apache he's probably running now, etc.

All such information is useful and true, of course, but it's unnecessary to know for someone who wants the minimum viable solution of a Common Gateway Interface.

I suspect that CGI.pm and the Common Gateway Interface are shunned largely because the Perl community is anxious to be sure that every newcomer learns -- perhaps the hard way -- that Perl for the web and CGI are no longer synonymous. But one casualty is the situation encountered by the OP, which I would guess is much more common than we'd like to admit.


In reply to Re^4: CGI.pm not good practice, so what is good, modern, practice for reading CGI paramters? by davebaker
in thread CGI.pm not good practice, so what is good, modern, practice for reading CGI paramters? by leszekdubiel

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 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? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2021-10-21 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (83 votes). Check out past polls.

    Notices?