Learning Perl

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...

Descripción completa

Detalles Bibliográficos
Autor principal: Schwartz, Randal L. (-)
Otros Autores: Foy, Brian D., Phoenix, Tom
Formato: Libro electrónico
Idioma:Inglés
Publicado: Beijing ; Sebastopol, California : O'Reilly Media, Inc 2011.
Edición:6th ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628012406719
Tabla de Contenidos:
  • Table of Contents; Preface; Typographical Conventions; Code Examples; Safari® Books Online; How to Contact Us; History of This Book; Changes from the Previous Edition; Acknowledgments; From Randal; From Tom; From brian; From All of Us; Chapter 1. Introduction; Questions and Answers; Is This the Right Book for You?; Why Are There So Many Footnotes?; What About the Exercises and Their Answers?; What Do Those Numbers Mean at the Start of the Exercise?; What If I'm a Perl Course Instructor?; What Does "Perl" Stand For?; Why Did Larry Create Perl?; Why Didn't Larry Just Use Some Other Language?
  • Is Perl Easy or Hard?How Did Perl Get to Be So Popular?; What's Happening with Perl Now?; What's Perl Really Good For?; What Is Perl Not Good For?; How Can I Get Perl?; What Is CPAN?; How Can I Get Support for Perl?; Are There Any Other Kinds of Support?; What If I Find a Bug in Perl?; How Do I Make a Perl Program?; A Simple Program; What's Inside That Program?; How Do I Compile My Perl Program?; A Whirlwind Tour of Perl; Exercises; Chapter 2. Scalar Data; Numbers; All Numbers Have the Same Format Internally; Floating-Point Literals; Integer Literals; Nondecimal Integer Literals
  • Numeric OperatorsStrings; Single-Quoted String Literals; Double-Quoted String Literals; String Operators; Automatic Conversion Between Numbers and Strings; Perl's Built-in Warnings; Scalar Variables; Choosing Good Variable Names; Scalar Assignment; Binary Assignment Operators; Output with print; Interpolation of Scalar Variables into Strings; Creating Characters by Code Point; Operator Precedence and Associativity; Comparison Operators; The if Control Structure; Boolean Values; Getting User Input; The chomp Operator; The while Control Structure; The undef Value; The defined Function
  • ExercisesChapter 3. Lists and Arrays; Accessing Elements of an Array; Special Array Indices; List Literals; The qw Shortcut; List Assignment; The pop and push Operators; The shift and unshift Operators; The splice Operator; Interpolating Arrays into Strings; The foreach Control Structure; Perl's Favorite Default: _; The reverse Operator; The sort Operator; The each Operator; Scalar and List Context; Using List-Producing Expressions in Scalar Context; Using Scalar-Producing Expressions in List Context; Forcing Scalar Context; in List Context; Exercises; Chapter 4. Subroutines
  • Defining a SubroutineInvoking a Subroutine; Return Values; Arguments; Private Variables in Subroutines; Variable-Length Parameter Lists; A Better &max Routine; Empty Parameter Lists; Notes on Lexical (my) Variables; The use strict Pragma; The return Operator; Omitting the Ampersand; Non-Scalar Return Values; Persistent, Private Variables; Exercises; Chapter 5. Input and Output; Input from Standard Input; Input from the Diamond Operator; The Invocation Arguments; Output to Standard Output; Formatted Output with printf; Arrays and printf; Filehandles; Opening a Filehandle; Binmoding Filehandles
  • Bad Filehandles