Skip to Content
『Learning Perl, 8th Edition』
book

『Learning Perl, 8th Edition』

by Randal L. Schwartz, brian d foy, Tom Phoenix
March 2025
Beginner to intermediate
398 pages
5h 33m
Japanese
O'Reilly Media, Inc.
Content preview from 『Learning Perl, 8th Edition』

序文

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

Perl5.34とその最新機能用にアップデートされた『Learning Perl』第8版へようこそ。 Perl5.8をまだ使っている人でも、本書はほとんど問題なく読めるだろう(とはいえ、リリースされてからずいぶん経つので、アップグレードを考えたことはあるだろうか)。

プログラミング言語Perlを初めて30〜45時間使うのに最適な方法を発見した。この後のWebページでは、インターネットの主力言語であり、世界中のシステム管理者、Webハッカー、そしてカジュアルなプログラマが選択する言語であるPerlの入門書を、丁寧なペースで紹介していく。本書は、私たちが教えている対面授業に基づいてデザインされているので、1週間分の作業時間を計っている。

この本を購入する前に、この序文を読み返してほしい。歴史的なハプニングがあり、混乱を招くかもしれないからだ。Perl 6という別の言語があり、これはPerl 5の後継言語としてスタートしたが、その後「Raku」という新しい名前で独立した(ただし、この言語に関するブライアンの本はまだ『Perl 6を学ぶ』である)。

それに伴い、現在Perlの新しいメジャーバージョン、Perl 7を作ろうという動きがある。Perl 7は、Perl v5.34に異なるデフォルトを追加したもので、Perl言語を進化させるためのベイビーステップとなる。基本的にはPerl 5なので、おそらく互換性スイッチは必要だろうが、Perl 5のプログラミングを実行できるはずだ。これを書いている時点では、どうなるかわからない。この本を読み終えたら、brianのもう一冊の本、Perl 7への準備を読むといいだろう。そのアドバイスの多くは単に現代的なグッドプラクティスなので、本書でも同じアドバイスを提供しようと思う。

これを書いている今、Perl 5はおそらくあなたが望むバージョンだろう。単に "Perl "と言えば、広くインストールされ使用されている言語である。この段落がなぜここにあるのかわからないなら、Perl 5を使えばいい。

たった数時間でPerlのすべてを学ぶことはできない。そう約束している本は、おそらくちょっとウソをついているのだろう。その代わり、Perlの有用なサブセットを厳選し、1行から128行(任意の行数)までのプログラミングに対応できるようにした。 このサブセットは、世の中で使用されているプログラムの約90%に相当する。さらに先に進む準備ができたら、本書の続きとなる中級Perlを手に入れよう。本書には、さらに知識を深めるためのポインタも多数含まれている。

各章は1〜2時間で読み終えることができるように短くまとめられており、各章の最後には、学んだことを実践するための練習問題がついている。したがって、本書は教室での「Perl入門」コースに最適である。というのも、本書の教材は、世界中で何千人もの受講生に提供されている、私たちの主要な「Perl学習」コースからほぼ一字一句そのまま引用しているからだ。brianは、別冊「Learning Perl Exercises」で、追加の練習問題と詳細な解答を提供している。

Perlは「Unixのためのツールボックス」として生きているが、この本を読むのにUnixの達人である必要はないし、Unixユーザである必要もない。特に断りのない限り、我々が言っていることはすべて、ActiveStateの

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Perl, 8th Edition

Learning Perl, 8th Edition

Randal L. Schwartz, brian d foy, Tom Phoenix
The AWK Programming Language, 2nd Edition

The AWK Programming Language, 2nd Edition

Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger

Publisher Resources

ISBN: 9798341636231