2 ms·
It'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
by user5994461 7y ago
It'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/