An increasing risk of using Perl is that your dependencies may be rotting without you noticing it. And this may happen in multiple ways:
* Modules that use some arcane syntax that's being deprecated.
* Modules that link against libraries that are still being developed
* Web APIs that are still evolving.
Perl's great strength has always been CPAN, and with its decreasing popularity that's now becoming a weakness.
For instance, Amazon::S3 was last released in 2009. AWS::S3 was last released in 2019. Net::Amazon::S3 seems alive and well, but the "++ed by 6 PAUSE users" isn't very comforting.
I'm personally increasingly switching away from Perl, because I've been noticing the concerning amount of familiar modules whose last release was several years ago, which has bugs that went completely unacknowledged on the bug tracker for years, and the realization that there are big, complex modules that may be depending on some random person in Nebraska.
This is of course not a new issue, but it's particularly acute when an ecosystem is no longer "sexy" and people start moving on to greener pastures.