I found myself working on a CGI script just last week. Last year I was asked to patch a production CMS that was just a giant collection of CGI scripts.
This stuff is still out there and when it's done well, it "just works". I'm not saying CGI is the future, but I did find it refreshing to edit a script and then have the change immediately available without waiting for some daemon to restart/reload.
When I installed it with Macports recently it gave me a warning that CGI.pm is now in maintenance mode and should not be used for new projects. I get the nostalgia value but Dancer and Mojolicious are surely better alternatives?
It would be unusual to be doing new work in CGI, but I was looking at it recently because that was presented as an easy option for writing a cPanel plugin. At the very least, it's good to know that security fixes will still be applied to CGI.pm if they're needed.
This stuff is still out there and when it's done well, it "just works". I'm not saying CGI is the future, but I did find it refreshing to edit a script and then have the change immediately available without waiting for some daemon to restart/reload.