5 ms·
I'm not sure using a very outdated CGI example as an illustration of why Perl is dying is all that convincing. It says in the source article "you probably don’
by bingcat 7y ago
I'm not sure using a very outdated CGI example as an illustration of why Perl is dying is all that convincing.
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.
- user5994461 7y agoIt's just a basic example to show what the language looks like. Same in the 3 languages straight from the textbook and stack overflow. 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.
- bingcat 7y agoOk but why not choose an example to show what the language looks like today, vs >10 years ago? Perl CGI is deprecated, so if anything using an example this outdated proves the opposite of your point. Surely a more constructive comparison might be looking at a 1 page app in Mojolicious vs Flask, Express, etc?
- Ultimatt 7y agoFor example the -signatures example on https://mojolicious.org/ https://mojolicious.org/