I have been hearing a lot about this "Modern Perl." What is it?
One of the things I heard was the new open syntax:
open my $FH, '<', $filename
and not
open FH, "<$filename";
What else is in Modern Perl?
One might think that Perl is dead already, and there is no point in learning Perl, but if you have some Perl experience, you will still be in demand. Therefore, this programming language is worth learning in 2022.
The Perl vs. Then Python came along.
Perl is still very much a viable choice for modern programming. CPAN (a massive repository of Perl libraries and modules) is alive and well, and the majority of useful modules continue to be maintained. Books like Modern Perl give the style to keep Perl modern without falling victim to the mistakes of the past.
Perl's devoted following has always been strongest in the Unix/Linux world, where administrators often use it to script common system administration tasks. But Perl can also come in handy in Windows-centric environments.
To quote the source
Modern Perl programming, circa 2010, relies on the collected wisdom of the entire Perl ecosystem. It's time to write elegant, reliable, maintainable, well-tested, and predictable code.
See also, the book. And this quote from the book
Modern Perl is a loose description of how experienced and effective Perl 5 programers work. They use language idioms. They take advantage of the CPAN. They're recognizably Perlish, and they show good taste and craftsmanship and a full understanding of Perl.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With