top | item 1470952

Modern Perl: The Book: The Draft

44 points| telemachos | 15 years ago |modernperlbooks.com | reply

9 comments

order
[+] lucraft|15 years ago|reply
Modern Perl: The Book: The Draft: The Comment
[+] telemachos|15 years ago|reply
Sidenote, but this is why I prefer a pipe or dash to mark off my site title from the title of any particular post. If you use a colon, you run into this problem all the time. I also prefer to put the name of the specific page before the site-name. It gives more information in tabs that way (you see what page you are actually on, not just the site's name over and over and over, if you have multiple tabs).
[+] chromatic|15 years ago|reply
I did that on purpose. I'm easy to amuse.
[+] acqw|15 years ago|reply
Which Perl is this about: 5 or 6? They are practically not the same languages, so it's confusing.

Maybe you just expect that 5 can't be modern in any sense?

[+] telemachos|15 years ago|reply
It's about Perl 5. The idea is that Perl 5 (as a whole) is quite old - ancient in internet terms. Much of what you find online as Perl tutorials or introductions is hideous advice from the point of view of today's Perl idioms and possibilities. (A few random things: nearly every Perl tutorial you find is still using bareword, two-argument calls to open. Argh. Also, no Moose, no autodie, no Perlbrew, no Try::Tiny, no cpanminus and on and on and on.) Hence, a need for a "modern" introduction to contemporary Perl programming.

If you're curious about the project and the author's view more generally, you might be interested in his introductory blog post "Why 'Modern Perl' Anyway?" (it's linked in the Github repo): http://www.modernperlbooks.com/mt/2009/01/why-modern-perl.ht...

[+] chromatic|15 years ago|reply
Maybe you just expect that 5 can't be modern in any sense?

That's the subversive part of the title. I believe that Perl 5 code written well--written with the full power of CPAN and features of recent releases and all of the community wisdom developed in the past several years--is as good or better than code written in almost any other language. I also believe that it's reasonably easy to teach a Perl 5 novice how to write code well.