Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Replacing CGI.pm

by sundialsvc4 (Abbot)
on Jun 20, 2018 at 21:03 UTC ( #1217068=note: print w/replies, xml ) Need Help??


in reply to Replacing CGI.pm

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^2: Replacing CGI.pm
by Your Mother (Archbishop) on Jun 20, 2018 at 21:40 UTC
    Also, PSGI/Plack might be contra-indicated depending on exactly how your application is now architected.

    Rubbish. Unless there are scoping problems—which is essentially broken code and requires one to eschew strict—there is no reason to avoid persistent execution harnesses, fcgi, or psgi.

      I'm going to defend sundial's point just a little bit here. Given that the shortest path to keeping this code working is to install CGI.pm manually, there's no urgent reason to migrate to a PSGI system.

      Also I think you're overstating the value of strict in this case; it's easy to write a simple and correct and strict-safe CGI program that causes inadvertent scope problems with a persistent execution harness like mod_perl. (Plack less so.)

    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2022-01-20 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?