in reply to Re^5: Perl CGI -disabled
in thread Perl CGI -disabled
I understand and I support the removal as a sane way to get Perl out of defaulting to the 90s but it’s not quite fair to say that there are easier alternatives for everything. Yes extensible, scalable, modern, forward-thinking, editable, etc but CGI.pm’s HTML generation and parameter handling is faster and eaiser than templates and I’ll continue to use it in one-offs, helpers, starting or piecing together templates, etc. Knocking this out with a template or a hand rolled .psgi or even mojolicious is more effort. The effort of course may be justified but sometimes it’s all one wants or needs–
perl -MCGI=:all -E 'say header(), start_html(), h1("OHAI"), start_form(), p(textfield("search")), submit("Go"), end_form(), end_html()'Years of really excellent work went into the kit as messy as is it and it can still be a nice tool when not used for things other than the backbone for a “real” application.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Perl CGI -disabled
by marto (Cardinal) on Sep 24, 2014 at 07:54 UTC | |
by Your Mother (Archbishop) on Sep 24, 2014 at 14:44 UTC | |
|
Re^7: Perl CGI -disabled
by Anonymous Monk on Sep 24, 2014 at 09:05 UTC | |
by Your Mother (Archbishop) on Sep 24, 2014 at 14:35 UTC | |
by Anonymous Monk on Sep 24, 2014 at 20:52 UTC |