/
2011-02-16-perl-moderne-a-new-perl-book.html
39 lines (38 loc) · 7.37 KB
/
2011-02-16-perl-moderne-a-new-perl-book.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
layout: post
title: Perl Moderne, a new Perl book
published: 1
categories:
- All
- Perl
---
<p><a href="http://perlmoderne.fr" style="float: left;"><img alt="image from www.pearson.fr" class="asset asset-image at-xid-6a0120a63366ed970b014e861c3dc0970d" src="http://damien.krotkine.com/.a/6a0120a63366ed970b014e861c3dc0970d-800wi" style="border: 1px solid black; margin: 10px 10px 10px 10px;" title="Perl Moderne" /></a> I haven't been blogging a lot this year-and-half, and for various reasons. But the reason number one is that I've been very busy writing a <strong><a href="http://perlmoderne.fr/" target="_self">Perl book</a></strong> from scratch, in French, with 3 other fellow French <a href="http://mongueurs.net/" target="_self">Perl Mongers</a>.</p>
<p>The book is called <em><a href="http://perlmoderne.fr/" target="_self">Perl Moderne</a></em>. That means "Modern Perl", but it has nothing to do with chromatic's book. The book was actually published long time ago, end October 2010. But it took us authors some time to recover :)</p>
<p>This book is written in French, for French speaking readers. Its goal is to present the Perl 5 language as it exists <strong>now</strong>, and tries to teach the reader how to start using it the <em>right way</em>, that is, the <em>modern way</em>. The book is not a bible, nor an encyclopedia of the historical language. Instead, it's a collection of the useful concepts that are used nowadays, and how to use them in the latest version of Perl and CPAN.</p>
<p>The reader can be a total newbie in Perl, but it has to have a previous development experience with an other language, for instance PHP, Ruby, Python, or Java. However, the book goes far beyond introducing the language. It allows the reader to become fluent with the Perl data structure, regexps, Moose OO and typing, POE, interacting with databases, files, DateTime, XML and configuration files, Web interactions, and more...</p>
<p>It's big in content (many subjects covered, and 450 pages !) but small in size, as it's an A5 format, so it fits easily in a bag, and it's not heavy :)</p>
<h2>The people</h2>
<p>Historically, Pearson France, the press editor, posted a request on the French Perl Mongers mailing list, saying that they were looking for authors willing to write a new Perl Book in French.</p>
<p>I decided to not let this opportunity pass : it's very rare that French editors are interested by Perl, and willing to produce good quality books. After some struggling, I ended up setting up a team of 4 brave French Perl Mongers, that became 4 Perl book authors :</p>
<ul>
<li>
<p><strong>Sébastien Aperghis-Tramoni</strong> (SAPER on CPAN) : active French Perl Monger, he knows almost everything about CPAN modules. He wrote several modules himself, and maintains numerous others. He wrote several Perl articles in the <a href="http://www.gnulinuxmag.com" target="_self">GNU/Linux Magazine France</a>. He is also the hidden admin of your Perl conferences, as he maintains <a href="http://act.mongueurs.net/" target="_self">Act</a>, empowering a lot of <a href="http://act.mongueurs.net/conferences.html" target="_self">Perl conferences</a></p>
</li>
<li>
<p><strong>Philippe Bruhat</strong> (BOOK on CPAN) : well known Perl figure, active French Perl Monger, former president of them, founder and treasurer of the <a href="http://www.yapceurope.org" target="_self">YAPC Europe Foundation</a>. Received a White Camel Award in 2009, and maintains quite a few modules on CPAN. Also wrote articles in the GNU/Linux Magazine France.</p>
</li>
<li>
<p><strong>Jérôme Quelin</strong> (JQUELIN on CPAN) : active French Perl Monger, knows a great deal about Tk, wrote <a href="http://search.cpan.org/perldoc?Games::Risk" target="_self">Games::Risk</a> among other things, and maintains a bunch of CPAN modules. He is also maintaining a lot of Perl packages at Mandriva and <a href="http://mageia.org" target="_self">Mageia</a>. Also wrote articles in the GNU/Linux Magazine France.</p>
</li>
<li>
<p><strong>Damien Krotkine</strong> (DAMS on CPAN) : well that's me ! I'm an active French Perl Monger, using Perl for 11 years or so, I wrote a couple of Perl articles in the GNU/Linux Magazine France, have some modules on CPAN (among them <a href="http://search.cpan.org/perldoc?Curses::Toolkit" target="_self">Curses::Toolkit</a>), and I'm now a proud core developer of <a href="http://perldancer.org" target="_self">Dancer, the new big thing</a>.</p>
</li>
</ul>
<h2>The content</h2>
<p><a href="http://perlmoderne.fr" target="_self"><em>Perl Moderne</em></a> starts with a gentle (but concise) introduction to Perl, with many pointers to external resources, focusing on ease-of-use. For instance, we mention CPAN and <span style="font-family: 'courier new', courier;">cpanm</span><span> very early. Then the real business starts with an explanation of the major programming concepts (data structures, OO, databases, formats, event programming and the intarweb).</span></p>
<p>We tried to provide a preferred way to do each thing, while mentioning alternatives. We didn't separated the language and CPAN. <em>"Perl is the syntax, CPAN is the language"</em>... So about half of the book describes how to solve a problem using this or that CPAN module. And I think it's great. It allowed us to teach Object Oriented programming with <a href="http://www.iinteractive.com/moose/" target="_self">Moose</a>, explain event programming with <a href="http://poe.perl.org/" target="_self">POE</a>, etc.</p>
<p>I think it is very important that new Perl books get written, and very important that some are written natively in non-english. It fits better its purpose to the localized need (students, teachers, academic structures and way of thinking are different from one country to another). That also makes editors aware of the local Perl activity, and help spreads the words about the language in schools and universities, where native books are preferred to translations.</p>
<p>So, if you know any French speaking (or learning) geek or computer scientist, around you, please consider recommending them this book. It was crafted with care and love by Perl passionated ! :) You can point them to the <a href="http://perlmoderne.fr" target="_self">dedicated website of Perl Moderne</a></p>
<p> </p>
<p>Here is an english translation of the table of content :</p>
<p>01. Start with Perl<br />02. Install a Perl module<br /><br /><strong>I. Language and data structures</strong><br />03. Language<br />04. Data structures<br />05. Regular expressions<br /><br /><strong>II. Modern object programming</strong><br />06. Basic Perl objects<br />07. Moose<br />08. Typing system in Moose<br />09. Methods in Moose<br /><br /><strong>III. Data manipulation</strong><br />10. Files and directories<br />11. SQL databases<br />12. SQL abstraction, ORM, non-SQL databases<br />13. Dates and times<br /><br /><strong>IV. Formats</strong><br />14. XML<br />15. Data serialisation<br />16. Configuration files<br /><br /><strong>V. Event programming</strong><br />17. Introduction to POE<br />18. Practical POE<br />19. Distributed POE<br /><br /><strong>VI. Web</strong><br />20. HTML documents parsing<br />21. HTTP and the Web<br />22. LWP<br />23. Web browsing<br />24. WWW::Mechanize<br /><br /></p>