Programming Perl
Perl is a powerful programming language that has grown in popularity since it first appeared in 1988. The first edition of this book, Programming Perl, hit the shelves in 1990, and was quickly adopted as the undisputed bible of the language. Since then, Perl has grown with the times, and so has...
Autor principal: | |
---|---|
Otros Autores: | , |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol :
O'Reilly Media
2000.
|
Edición: | 3rd ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627438106719 |
Tabla de Contenidos:
- Table of Contents; Tables; Preface; The Pursuit of Happiness; What's New in This Edition; The Standard Distribution; Online Documentation; Navigating the Standard Manpages; Searching the Manpages; Non-Perl Manpages; Offline Documentation; Additional Resources; Perl on the Web; Usenet Newsgroups; Bug Reports; Conventions Used in This Book; Acknowledgments; We'd Like to Hear from You; Part 1: Overview; Chapter 1: An Overview of Perl; Getting Started; Natural and Artificial Languages; Variable Syntax; Singularities; Pluralities; Complexities; Simplicities; Verbs; An Average Example; How to Do It
- FilehandlesOperators; Some Binary Arithmetic Operators; String Operators; Assignment Operators; Unary Arithmetic Operators; Logical Operators; Some Numeric and String Comparison Operators; Some File Test Operators; Control Structures; What Is Truth?; The if and unless statements; Iterative (Looping) Constructs; The while and until statements; The for statement; The foreach statement; Breaking out: next and last; Regular Expressions; Quantifiers; Minimal Matching; Nailing Things Down; Backreferences; List Processing; What You Don't Know Won't Hur t You(Much); Part 2: The Gory Details
- Chapter 2: Bits and PiecesAtoms; Molecules; Built-in Data Types; Variables; Names; Name Lookups; Scalar Values; Numeric Literals; String Literals; Pick Your Own Quotes; Or Leave the Quotes Out Entirely; Interpolating Array Values; "Here" Documents; V-String Literals; Other Literal Tokens; Context; Scalar and List Context; Boolean Context; Void Context; Interpolative Context; List Values and Arrays; List Assignment; Array Length; Hashes; Typeglobs and Filehandles; Input Operators; Command Input (Backtick) Operator; Line Input (Angle) Operator; Filename Globbing Operator
- Chapter 3: Unary and Binary OperatorsTerms 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; Bitwise Operators; C-Style Logical (Short-Circuit) Operators; Range Operator; Conditional Operator; Assignment Operators; Comma Operators; List Operators (Rightward); Logical and, or, not, and xor; C Operators Missing from Perl
- Chapter 4: Statements and DeclarationsSimple Statements; Compound Statements; if and unless Statements; Loop Statements; while and until Statements; for Loops; foreach Loops; Loop Control; Bare Blocks; Case Structures; goto; Global Declarations; Scoped Declarations; Scoped Variable Declarations; Lexically Scoped Variables: my; Lexically Scoped Global Declarations: our; Dynamically Scoped Variables: local; Pragmas; Controlling Warnings; Controlling the Use of Globals; Chapter 5: Pattern Matching; The Regular Expression Bestiary; Pattern-Matching Operators; Pattern Modifiers
- The m// Operator (Matching)