There are two heavily developed/used web frameworks for Perl: https://mojolicious.org/ and http://perldancer.org/
Users of Mojolicious: https://github.com/mojolicious/mojo/wiki/Projects-and-Compan...
For example, for short scripts to process/massage data - either one shot or in a production pipeline -, it's very expressive and "to the point", especially if you're going to use regexps.
perl is in particular way less verbose than e.g. python when it comes to regexes coz regexes are built into the basic syntax of the language.
OTOH, there are many, many things that are broken in perl, but if I had to cite two things that made me kind of give up on it for new large and mid-level complexity projects these would be: - near impossible to predict perl's handling of "numerical" values - having to type dollar signs to dereference variables
One thing that I like about Go is that it promotes testing as something that should be required, but in my experience the vast majority of Perl modules also come with very good test-case coverage, it being the source of the TAP format after all!
I've written a few new sites and APIs using the CGI::Application framework over the past few years, and I'll often knock up simple transformation scripts in Perl to glue APIs together and perform ad-hoc transformation of various tools.
Although I've mostly started writing new services in golang I don't feel the need to go back and rewrite stable systems in perl.
I use perl daily in my work on supercomputers and hpc systems. My code helps configure and control them. It helps simplify users work.
No. Perl is not dead by any measure.
I also have a few Telegram bots written in Perl.
It is both "legacy" and "active development".
s/legacy/valuable/g;
Most of the key libraries I use are updated regularly. Perl itself is under active development with regular releases.