Perl is not on the decline. In fact, it has reached the point of ubiquity and is thus becoming invisible. Perl is on every Linux system, and a large number of tools are written in it. It's been around for a long time, so it's not as exciting as all the newcomers, but that's because it's well-understood and stable. The newcomers are exciting because they have not reached the same level of maturity.
Perl is akin to a mainframe... people think it is a dinosaur, but in reality it is the workhorse that is so stable that you don't need to mess with it anymore and can just focus on the actual work that needs to get done, and it gets done reliably. I don't expect you whippersnappers to understand that, but once you've been in IT for 10 years or more, and with the right attitude, you eventually will.