Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: What are best practices for Fast CGI nowadays?

by sundialsvc4 (Abbot)
on Mar 26, 2018 at 21:47 UTC ( #1211794=note: print w/replies, xml ) Need Help??


in reply to Re: What are best practices for Fast CGI nowadays?
in thread What are best practices for Fast CGI nowadays?

Well, perhaps we would love to someday receive some follow-up as to exactly how it helped!   (“War Stories™” are always informative.)   Very glad that PM was able to help you.

  • Comment on Re^2: What are best practices for Fast CGI nowadays?

Replies are listed 'Best First'.
Re^3: What are best practices for Fast CGI nowadays?
by mldvx4 (Beadle) on Mar 28, 2018 at 08:32 UTC

    I'm happy to say that I over-estimated the amount and nature changes in how Perl interacts with web servers.

    Specifically the most useful thing to know was that CGI::Fast supplements CGI. So once the script is up and running and in contact with the server, the familiar CGI module can be used. Once I got over that hump it was all good again. In some of the reading it was important to know to import the CGI::Fast first and CGI second so that if there is any colision, CGI wins.

      CGI::Fast first and CGI second so that if there is any colision, CGI wins.

      Unless you have a library conflict with broken installs which is actually pretty hard to manage (some things installed in one place and related others at a different version installed in another place). This is not an issue and you should not even load CGI because it is misleading. CGI::Fast has already done it internally. And it's backwards. First loaded, where code overlaps, wins, not second. (Update: to clarify, I mean code packages. Once loaded, they aren't reloaded without gymnastics.)

      From the CGI::Fast POD (and code, POD can lie) – CGI::Fast is a subclass of the CGI object created by CGI.pm.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2019-07-21 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (7 votes). Check out past polls.

    Notices?