Hacker News new | past | comments | ask | show | jobs | submit login

    print $q->header();
From CGI is better in most cases. Modern web development with perl is lots of fun with Mojolicious:

https://mojolicious.org/




The CGI module is no longer shipped with Perl (as of 5.22)

https://metacpan.org/pod/CGI::Alternatives


And 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.


You 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.


CGI.pm, it's in response to the CGI::Alternatives post above.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: