Learning Perl

Forside
"O'Reilly Media, Inc.", 23. juni 2011 - 363 sider

If you're just getting started with Perl, this is the book you want—whether you're a programmer, system administrator, or web hacker. Nicknamed "the Llama" by two generations of users, this bestseller closely follows the popular introductory Perl course taught by the authors since 1991. This 6th edition covers recent changes to the language up to version 5.14.

Perl is suitable for almost any task on almost any platform, from short fixes to complete web applications. Learning Perl teaches you the basics and shows you how to write programs up to 128 lines long—roughly the size of 90% of the Perl programs in use today. Each chapter includes exercises to help you practice what you've just learned. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer.

Topics include:

  • Perl data and variable types
  • Subroutines
  • File operations
  • Regular expressions
  • String manipulation (including Unicode)
  • Lists and sorting
  • Process management
  • Smart matching
  • Use of third party modules

Inni boken

Innhold

Chapter 1 Introduction
1
Chapter 2 Scalar Data
21
Chapter 3 Lists and Arrays
43
Chapter 4 Subroutines
63
Chapter 5 Input and Output
81
Chapter 6 Hashes
107
Chapter 7 In the World of Regular Expressions
121
Chapter 8 Matching with Regular Expressions
133
Chapter 12 File Tests
203
Chapter 13 Directory Operations
215
Chapter 14 Strings and Sorting
235
Chapter 15 Smart Matching and givenwhen
247
Chapter 16 Process Management
259
Chapter 17 Some Advanced Perl Techniques
277
Appendix A Exercise Answers
295
Appendix B Beyond the Llama
331

Chapter 9 Processing Text with Regular Expressions
155
Chapter 10 More Control Structures
169
Chapter 11 Perl Modules
189
Appendix C A Unicode Primer
343
Index
353
Opphavsrett

Andre utgaver - Vis alle

Vanlige uttrykk og setninger

Om forfatteren (2011)

Randal L. Schwartz is a two-decade veteran of the software industry. He is skilled in software design, system administration, security, technical writing, and training. Randal has coauthored the "must-have" standards: Programming Perl, Learning Perl, Learning Perl for Win32 Systems, and Effective Perl Learning, and is a regular columnist for WebTechniques, PerformanceComputing, SysAdmin, and Linux magazines. He is also a frequent contributor to the Perl newsgroups, and has moderated comp.lang.perl.announce since its inception. His offbeat humor and technical mastery have reached legendary proportions worldwide (but he probably started some of those legends himself). Randal's desire to give back to the Perl community inspired him to help create and provide initial funding for The Perl Institute. He is also a founding board member of the Perl Mongers (perl.org), the worldwide Perl grassroots advocacy organization. Since 1985, Randal has owned and operated Stonehenge Consulting Services, Inc. Randal can be reached for comment at merlyn@stonehenge.com or (503) 777-0095, and welcomes questions on Perl and other related topics. Tom Phoenix has been working in the field of education since 1982. After more than thirteen years of dissections, explosions, work with interesting animals, and high-voltage sparks during his work at a science museum, he started teaching Perl classes for Stonehenge Consulting Services, where he's worked since 1996. Since then, he has traveled to many interesting locations, so you might see him soon at a Perl Mongers' meeting. When he has time, he answers questions on Usenet's comp.lang.perl.misc and comp.lang.perl.moderated newsgroups, and contributes to the development and usefulness of Perl. Besides his work with Perl, Perl hackers, and related topics, Tom spends his time on amateur cryptography and speaking Esperanto. His home is in Portland, Oregon.

Bibliografisk informasjon