Learning Perl
If you ask Perl programmers today what book they relied on most when they were learning Perl, you'll find that an overwhelming majority will name Learning Perl--also known affectionately as ""the Llama."" The first edition of Learning Perl appeared in 1993 and has been a bes...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol, California :
O'Reilly
2001.
|
Edición: | 3rd ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627085106719 |
Tabla de Contenidos:
- Learning Perl, 3rd Edition; How to Contact Us; Code Examples; History of This Book; Acknowledgments; 1. Introduction; 1.1.2. Why Are There So Many Footnotes?; 1.1.3. What About the Exercises and Their Answers?; 1.1.4. What Do Those Numbers Mean at the Start of the Exercise?; 1.1.5. What If I&m a Perl Course Instructor?; 1.2. What Does ""Perl"" Stand For?; 1.2.2. Is Perl Easy or Hard?; 1.2.3. How Did Perl Get to Be So Popular?; 1.2.4. What&s Happening with Perl Now?; 1.2.5. What&s Perl Really Good For?; 1.2.6. What Is Perl Not Good For?; 1.3. How Can I Get Perl?
- 1.3.2. How Can I Get Support for Perl?1.3.3. Are There Any Other Kinds of Support?; 1.3.4. What If I Find a Bug in Perl?; 1.4. How Do I Make a Perl Program?; 1.4.2. What&s Inside That Program?; 1.4.3. But How Do I Compile Perl?; 1.5. A Whirlwind Tour of Perl; 1.6. Exercises; 2. Scalar Data; 2.2. Numbers; 2.2.2. Floating-Point Literals; 2.2.3. Integer Literals; 2.2.4. Nondecimal Integer Literals; 2.2.5. Numeric Operators; 2.3. Strings; 2.3.2. Double-Quoted String Literals; 2.3.3. String Operators; 2.3.4. Automatic Conversion Between Numbers and Strings; 2.4. Perl&s Built-in Warnings
- 2.5. Scalar Variables2.5.2. Scalar Assignment; 2.5.3. Binary Assignment Operators; 2.6. Output with print; 2.6.2. Operator Precedence and Associativity; 2.6.3. Comparison Operators; 2.7. The if Control Structure; 2.8. Getting User Input; 2.9. The chomp Operator; 2.10. The while Control Structure; 2.11. The undef Value; 2.12. The defined Function; 2.13. Exercises; 3. Lists and Arrays; 3.2. Special Array Indices; 3.3. List Literals; 3.4. List Assignment; 3.4.2. The shift and unshift Operators; 3.5. Interpolating Arrays into Strings; 3.6. The foreach Control Structure
- 3.7. Perl&s Favorite Default: _3.7.2. The sort Operator; 3.8. Scalar and List Context; 3.8.2. Using Scalar-Producing Expressions in List Context; 3.8.3. Forcing Scalar Context; 3.9. in List Context; 3.10. Exercises; 4. Subroutines; 4.2. Defining a Subroutine; 4.3. Invoking a Subroutine; 4.4. Return Values; 4.5. Arguments; 4.6. Private Variables in Subroutines; 4.7. The local Operator; 4.8. Variable-length Parameter Lists; 4.8.2. Empty Parameter Lists; 4.9. Notes on Lexical (my) Variables; 4.10. The use strict Pragma; 4.11. The return Operator; 4.12. Exercises; 5. Hashes
- 5.2. Hash Element Access5.2.2. Hash Assignment; 5.2.3. The Big Arrow; 5.3. Hash Functions; 5.3.2. The each Function; 5.4. Typical Use of a Hash; 5.4.2. The delete Function; 5.4.3. Hash Element Interpolation; 5.5. Exercises; 6. I/O Basics; 6.2. Input from the Diamond Operator; 6.3. The Invocation Arguments; 6.4. Output to Standard Output; 6.5. Formatted Output with printf; 6.6. Exercises; 7. Concepts of Regular Expressions; 7.2. Using Simple Patterns; 7.2.2. Simple Quantifiers; 7.2.3. Grouping in Patterns; 7.2.4. Alternatives; 7.3. A Pattern Test Program; 7.4. Exercises
- 8. More About Regular Expressions