4 ms·
print $q->header(); From CGI is better in most cases. Modern web development with perl is lots of fun with Mojolicious: https://mojolicious.org/ https://mojol
by mikelovenotwar 3y ago
print $q->header();
From CGI is better in most cases. Modern web development with perl is lots of fun with Mojolicious:
https://mojolicious.org/ https://mojolicious.org/
- arunix 3y agoThe CGI module is no longer shipped with Perl (as of 5.22) https://metacpan.org/pod/CGI::Alternatives https://metacpan.org/pod/CGI::Alternatives
- mikelovenotwar 3y agoAnd nobody starting web dev now with perl should even consider it. Modifying an existing script that otherwise 'just works' sure. In my various other posts here I've recommended Mojolicious.
- knightcrusader 3y agoYou saying nobody starting web dev should use CGI.pm? Or CGI in general? Because CGI itself has its uses even today. It's much easier to understand and get off the ground than something like Mojo or Plack (I've used them all), and has its strengths compared to the others. However, if you are saying no one should use CGI.pm, then I agree. That module is a bloated mess. Much more efficient ways to use CGI without that thing.
- mikelovenotwar 3y agoCGI.pm, it's in response to the CGI::Alternatives post above.
- deleted 3y ago[deleted]