Should I upgrade from CGI.pm to CGI :: Simple?

I noticed CGI :: Simple , something distorted for the CGI.pm module. Should I use CGI :: Simple instead? What will he offer me through CGI.pm, which I have used for eight years? I see that CGI :: Simple does not generate HTML; what should i use for this? And it integrates with CGI :: Simple, allowing me to save form values, as CGI.pm does?

+3
source share
7 answers

I think it comes down to this line from the docs: "In practical testing, this module loads and runs about twice as fast as CGI.pm depending on the specific task."

CGI, , . , CGI:: Fast.

+8

HTML CGI.pm. HTML:: Template, CGI:: Application. CGI:: $cgi, .

, CGI . CGI:: Simple, OO.

+5

CGI.pm CGI:: Simple. , . , CGI:: Simple. , , .

, , , . -, PSGI.

+2

, CGI. , Catalyst/TT/DBIx.

+1

CGI:: , . , .:)

+1

CGI.pm , perl , CGI:: Simple . , CGI.pm - .

, HTML CGI , HTML- .

+1

, , , CGI. -, Dancer Mojolicious.

0

Source: https://habr.com/ru/post/1709683/


All Articles