Tom Christiansen, brian d foy, Larry Wall, Jon Orwant 지음 | 원서 | 2012년 02월 | OReilly Media
- 59,400원 (10% off)
- 1,782원 (3%)
페이지 : 1184쪽 | ISBN : 9780596004927 | 난이도 : 초/중급 | 변환코드 : 8492
부록 : 없음
Important features covered by this update include:
- New keywords and syntax
- I/O layers and encodings
- New backslash escapes
- Unicode 6.0
- Unicode grapheme clusters and properties
- Named captures in regexes
- Recursive and grammatical patterns
- Expanded coverage of CPAN
- Current best practices
Tom Christiansen is a freelance consultant specializing in Perl training and writing. After working for several years for TSR Hobbies (of Dungeons and Dragons fame), he set off for college where he spent a year in Spain and five in America, dabbling in music, linguistics, programming, and some half-dozen differentspoken languages. Tom finally escaped UW-Madison with undergraduate degrees in Spanish and computer science and a graduate degree in computer science. He then spent five years at Convex as a jack-of-all-trades working on everything from system administration to utility and kernel development, withcustomer support and training thrown in for good measure. Tom also served two terms on the USENIX Association Board of directors. With over thirty years' experience in Unix systems programming, Tom presents seminars internationally. Living in the foothills above Boulder, Colorado, Tom takes summers off for hiking, hacking, birding, music making, and gaming.
brian d foy is a prolific Perl trainer and writer, and runs The Perl Review to help people use and understand Perl through educational, consulting, code review, and more. He's a frequent speaker at Perl conferences. He's the coauthor of Learning Perl, Intermediate Perl, and Effective Perl Programming, and the author of Mastering Perl. He was an instructor and author for Stonehenge Consulting Services from 1998 to 2009, a Perl user since he was a physics graduate student, and a die-hard Mac user since he first owned a computer. He founded the first Perl user group, the New York Perl Mongers, as well as the Perl advocacy nonprofit Perl Mongers, Inc., which helped form more than 200 Perl user groups across the globe. He maintains the perlfaq portions of the core Perl documentation, several modules on CPAN, and some standalone scripts.
Larry Wall originally created Perl while a programmer at Unisys. He now works full time guiding the future development of the language. Larry is known for his idiosyncratic and thought-provoking approach to programming, as well as for his groundbreaking contributions to the culture of free software programming.
Jon Orwant founded The Perl Journal and received the White Camel lifetime achievement award for contributions to Perl in 2004. He's Engineering Manager at Google, where he leads Patent Search, visualizations, and digital humanities teams. For most of his tenure at Google, Jon worked on Book Search, and he developed the widely used Google Books Ngram Viewer. Prior to Google, he wasCTO of O'Reilly, Director of Research at France Telecom, and a Lecturer at MIT. Orwant received his doctorate from MIT's Electronic Publishing Group in 1999.
Overview Chapter 1 : An Overview of Perl Getting Started Natural and Artificial Languages An Average Example Filehandles Operators Control Structures Regular Expressions List Processing What You Don’t Know Won’t Hurt You (Much) The Gory Details Chapter 2 : Bits and Pieces Atoms Molecules Built-in Data Types Variables Names Scalar Values Context List Values and Arrays Hashes Typeglobs and Filehandles Input Operators Chapter 3 : Unary and Binary Operators Terms and List Operators (Leftward) The Arrow Operator Autoincrement and Autodecrement Exponentiation Ideographic Unary Operators Binding Operators Multiplicative Operators Additive Operators Shift Operators Named Unary and File Test Operators Relational Operators Equality Operators Smartmatch Operator Bitwise Operators C-Style Logical (Short-Circuit) Operators Range Operators Conditional Operator Assignment Operators Comma Operators List Operators (Rightward) Logical and, or, not, and xor C Operators Missing from Perl Chapter 4 : Statements and Declarations Simple Statements Compound Statements if and unless Statements The given Statement Loop Statements The goto Operator Paleolithic Perl Case Structures The Ellipsis Statement Global Declarations Scoped Declarations Pragmas Chapter 5 : Pattern Matching The Regular Expression Bestiary Pattern-Matching Operators Metacharacters and Metasymbols Character Classes Quantifiers Positions Grouping and Capturing Alternation Staying in Control Fancy Patterns Chapter 6 : Unicode Show, Don’t Tell Getting at Unicode Data A Case of Mistaken Identity Graphemes and Normalization Comparing and Sorting Unicode Text More Goodies References Chapter 7 : Subroutines Syntax Semantics Passing References Prototypes Subroutine Attributes Chapter 8 : References What Is a Reference? Creating References Using Hard References Symbolic References Braces, Brackets, and Quoting Chapter 9 : Data Structures Arrays of Arrays Hashes of Arrays Arrays of Hashes Hashes of Hashes Hashes of Functions More Elaborate Records Saving Data Structures Chapter 10 : Packages Symbol Tables Qualified Names The Default Package Changing the Package Autoloading Chapter 11 : Modules Loading Modules Unloading Modules Creating Modules Overriding Built-in Functions Chapter 12 : Objects Brief Refresher on Object-Oriented Lingo Perl’s Object System Method Invocation Object Construction Class Inheritance Instance Destructors Managing Instance Data Managing Class Data The Moose in the Room Summary Chapter 13 : Overloading The overload Pragma Overload Handlers Overloadable Operators The Copy Constructor (=) When an Overload Handler Is Missing (nomethod and fallback) Overloading Constants Public Overload Functions Inheritance and Overloading Runtime Overloading Overloading Diagnostics Chapter 14 : Tied Variables Tying Scalars Tying Arrays Tying Hashes Tying Filehandles A Subtle Untying Trap Tie Modules on CPAN Perl as Technology Chapter 15 : Interprocess Communication Signals Files Pipes System V IPC Sockets Chapter 16 : Compiling The Life Cycle of a Perl Program Compiling Your Code Executing Your Code Compiler Backends Code Generators Code Development Tools Avant-Garde Compiler, Retro Interpreter Chapter 17 : The Command-Line Interface Command Processing Environment Variables Chapter 18 : The Perl Debugger Using the Debugger Debugger Commands Debugger Customization Unattended Execution Debugger Support Profiling Perl Chapter 19 : CPAN History A Tour of the Repository The CPAN Ecosystem Installing CPAN Modules Creating CPAN Distributions Perl as Culture Chapter 20 : Security Handling Insecure Data Handling Timing Glitches Handling Insecure Code Chapter 21 : Common Practices Common Goofs for Novices Efficiency Programming with Style Fluent Perl Program Generation Chapter 22 : Portable Perl Newlines Endianness and Number Width Files and Filesystems System Interaction Interprocess Communication (IPC) External Subroutines (XS) Standard Modules Dates and Times Internationalization Style Chapter 23 : Plain Old Documentation Pod in a Nutshell Pod Translators and Modules Writing Your Own Pod Tools Pod Pitfalls Documenting Your Perl Programs Chapter 24 : Perl Culture History Made Practical Perl Poetry Virtues of the Perl Programmer Events Getting Help Reference Material Chapter 25 : Special Names Special Names Grouped by Type Special Variables in Alphabetical Order Chapter 26 : Formats String Formats Binary Formats Picture Formats Chapter 27 : Functions Perl Functions by Category Perl Functions in Alphabetical Order Chapter 28 : The Standard Perl Library Library Science A Tour of the Perl Library Chapter 29 : Pragmatic Modules attributes autodie autouse base bigint bignum bigrat blib bytes charnames constant deprecate diagnostics encoding feature fields filetest if inc::latest integer less lib locale mro open ops overload overloading parent re sigtrap sort strict subs threads utf8 vars version vmsish warnings User-Defined Pragmas Index of Perl Modules in This Book Colophon