Perl is a messy, maddening programming language
Only because people kept writing horrible code and using Perl as an excuse. Perl is like C, your code is as readable and maintainable as you choose to make it. It's like that old saying about blaming your tools. Just stop writing crap code.
This.
Perl won't stop you from doing insane things, true, but you can write garbage unmaintainable code in any language.