by bingcat · 7y ago · 0 comments
It says in the source article "you probably don’t want to use CGI for modern web development", then explains all the reasons why not, pointing you to modern frameworks such as Catalyst, Mojolicious and Dancer.
Not saying Perl doesn't have challenges with its popularity, but this isn't a very good case as to why it's dying.
Basic CGI script to show all GET request parameters. If you were writing an HTTP API, you would probably do something very similar although not running over CGI.
Surely a more constructive comparison might be looking at a 1 page app in Mojolicious vs Flask, Express, etc?