Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Replacing CGI.pm

by Your Mother (Archbishop)
on Jun 20, 2018 at 21:40 UTC ( [id://1217074]=note: print w/replies, xml ) Need Help??


in reply to Re: Replacing CGI.pm
in thread Replacing CGI.pm

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.

Replies are listed 'Best First'.
Re^3: Replacing CGI.pm
by chromatic (Archbishop) on Jun 21, 2018 at 18:26 UTC

    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://1217074]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found