Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is "Modern Perl"?

Tags:

perl

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?

like image 354
bodacydo Avatar asked Aug 12 '10 16:08

bodacydo


People also ask

Is Perl still used in 2022?

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.

What replaced Perl?

The Perl vs. Then Python came along.

Is Perl a modern programming language?

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.

Where is Perl used today?

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.


1 Answers

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.

like image 131
deinst Avatar answered Oct 05 '22 22:10

deinst