About 10 years ago, we (and by we I mean I was mostly watching) to make setting up perl environments much easier than it was. Which ended up with tools like local::lib, perlbrew, plenv, cpanm and so on coming to dominate.
So for me now it's super-easy to write code that will probably work on most OSs, and where rebuilding stuff for newer perls/OSs is pretty simple.
Cpantesters and the like really helps with this.