Even in the early 2000s I was writing (new) projects in perl, using the excellent "CGI::Application" module/framework. That worked with both old-school CGI, and FastCGI.
Using that module gave a good foundation for structuring code in a maintainable way, and also providing test-cases alongside it.
One of the things I like about coding in golang is the strong emphasis on testing, but I'd say that this was also a big deal for people writing in Perl. Sure there is a reputation for line-noise, but CPAN is/was full of well-tested modules and extensions and I always appreciated the built in test::tap/prove support.
I like your comment about templating, it's something I'd never considered before. At the time I used HTML::Template, or some other module, and found it was "good enough".
At the time I remember bumping into a lot of PHP, but due to settings available to mod_php5 you'd find code that worked on one host didn't necessarily work on another host. That was something that was never a problem with perl. Though I suspect it wasn't so often that a site got so complex/slow that I had to resort to mod_perl.
https://metacpan.org/pod/CGI::Application
Using that module gave a good foundation for structuring code in a maintainable way, and also providing test-cases alongside it.
One of the things I like about coding in golang is the strong emphasis on testing, but I'd say that this was also a big deal for people writing in Perl. Sure there is a reputation for line-noise, but CPAN is/was full of well-tested modules and extensions and I always appreciated the built in test::tap/prove support.
I like your comment about templating, it's something I'd never considered before. At the time I used HTML::Template, or some other module, and found it was "good enough".
At the time I remember bumping into a lot of PHP, but due to settings available to mod_php5 you'd find code that worked on one host didn't necessarily work on another host. That was something that was never a problem with perl. Though I suspect it wasn't so often that a site got so complex/slow that I had to resort to mod_perl.