Effective Perl (ASCII Addison Wesley Programming Series)
|
| 価格: | ¥ 2,940 1500円以上は送料無料 詳細 |
発送可能時期: 通常2~5週間以内に発送
販売、発送は Amazon.co.jp
商品の説明
The book on Perl that experienced Perl programmers have been looking for, Effective Perl Programming explains idiomatic Perl, covering the latest release (Version 5). It includes information and useful examples about the structure, functions, and latest capabilities of the language, such as self-documenting object-oriented modules. Learn from Hall's answers to "real life" questions and problems he receives from newsgroups and his Perl seminars.
商品の詳細
- Amazon.co.jp ランキング: #169592 / 本
- 発売日: 1999-03
- 版型: 単行本
- 270 ページ
エディターレビュー
内容(「BOOK」データベースより)
Perlプログラミングの奥義に迫る!Perlプログラミングの奥義に迫る!ツボを押さえた60項目の提案!より高度でエレガントなPerlプログラミング技法を実践的かつ効率的に学べる一冊。
内容(「MARC」データベースより)
ツボを押さえた60項目を提案。より高度でエレガントなPerlプログラミング技法を実践的かつ効率的に学べるガイドブック。
Amazon.com
Effective Perl Programming is a gem of a Perl book. Its author, Joseph Hall, is a well-known Perl instructor and frequent poster on the seminal comp.lang.perl.misc newsgroup. The book's technical editor is none other than Randal Schwartz, noted Net personality, enigmatic author of Learning Perl, and contributor to Programming Perl.
Hall has distilled his years of Perl experience into a book for Perl programmers that is both fluid and fun to read. It's somewhat like reading the Perl FAQ; even when you think you know everything, there's so much you don't know.
Effective Perl Programming has a clear layout: the text is easy on the eyes and the monospaced font makes a clear distinction between backticks and single quotes. Hall uses his PEGS (PErl Graphical Structures) notation to show the difference between Perl's different types of data structures and how everything ties together.
Packed with great examples and code snippets, this book is an excellent source of tips and tricks to make your Perl programs faster and easier to read. You'll also find a strong section on using the Perl debugger to improve your Perl programming skills. In yet another section, Hall walks the reader through the creation of a complete XS module that can boost the performance of array shuffling eight-fold. All in all, this is a great book for programmers who want to move beyond plain, verbose Perl toward a more succinct and powerful coding style.
カスタマーレビュー
C互換でなく、perlらしい書き方をしたい人に
perlをもっと知りたいが、ラクダ本は敷居が高すぎる…という方に勧めます。
perlらしい表現とは、括弧やブロックを廃したストレートな書き方。
C互換の「語数の多い」話し方から、perlな「口語体」のコードを書こうという内容です。
逆に、この本のほとんどの内容はC互換の処理で書き直せますので、「プログラムが書けさえすればいい」という方にはあまり向きません。
perlらしい表現の道を行く、フリークの方はぜひ。
ビギナーには不向き、中級者には目から鱗
懇切丁寧な解説があるわけでも無く、全くのperlの素人の人が読み進むのは困難かも知れません。しかし簡単なperlのプログラムをいくつか書いてみたことがある人にとってはperlのように簡潔で中身の濃い内容に目から鱗の各項です。私自身もこの本で初めてSchwartz変換を知り色々なファイル処理に利用したり、DICOM tag parserのパッケージを書くことができました。今でも時々開く良著です。
perl語を学ぶ
私の場合、PerlはC言語から入った為、どうしてもCスタイルのコードになってしまいます。きちんと動作し、他の人が読んでもわかりやすいのならばそれでよいのですが、変数に$やら@,%などがついたコードがくどくどと書き連ねられると逆に見づらく汚いものにもなりえてしまいます。
本書は、「こう書くとPerlらしい」,「同じことをこんな風にも表せる」等のPerl語?や、他にもPerlならではの独特のルールを丁寧(そして読み手も深く考えさせられるよう)に、説明しています。この本を読んで、当初は難解だった独特の言い回しのPerl語が、今では当たりまえに、そしてPerlならばこうでなければ気分が悪い?とまでに感じられるほどです。
ただし、Perlをこれから始めよう、という方には前もって基礎知識を他の本で学ばれることをお勧めします(本書著者はラクダ本を薦めてました)。2冊目にどうぞ。





