Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

LEARNING PERL 7E. MAKING EASY THINGS EASY AND HARD THINGS POSSIBLE
Título:
LEARNING PERL 7E. MAKING EASY THINGS EASY AND HARD THINGS POSSIBLE
Subtítulo:
Autor:
SCHWARTZ, R
Editorial:
O´REILLY
Año de edición:
2016
Materia
PERL
ISBN:
978-1-4919-5432-4
Páginas:
394
38,50 €

 

Sinopsis

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 seventh edition covers recent changes to the language up to version 5.24.

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



Chapter 1Introduction
Questions and Answers
What Does "Perlö Stand For?
How Can I Get Perl?
How Do I Make a Perl Program?
A Whirlwind Tour of Perl
Exercises
Chapter 2Scalar Data
Numbers
Strings
Perl's Built-In Warnings
Scalar Variables
Output with print
The if Control Structure
Getting User Input
The chomp Operator
The while Control Structure
The undef Value
The defined Function
Exercises
Chapter 3Lists and Arrays
Accessing Elements of an Array
Special Array Indices
List Literals
List Assignment
Interpolating Arrays into Strings
The foreach Control Structure
Scalar and List Context
in List Context
Exercises
Chapter 4Subroutines
Defining a Subroutine
Invoking a Subroutine
Return Values
Arguments
Private Variables in Subroutines
Variable-Length Parameter Lists
Notes on Lexical (my) Variables
The use strict Pragma
The return Operator
Nonscalar Return Values
Persistent, Private Variables
Subroutine Signatures
Exercises
Chapter 5Input and Output
Input from Standard Input
Input from the Diamond Operator
The Invocation Arguments
Output to Standard Output
Formatted Output with printf
Filehandles
Opening a Filehandle
Fatal Errors with die
Using Filehandles
Reopening a Standard Filehandle
Output with say
Filehandles in a Scalar
Exercises
Chapter 6Hashes
What Is a Hash?
Hash Element Access
Hash Functions
Typical Use of a Hash
The %ENV hash
Exercises
Chapter 7Regular Expressions
Sequences
Practice Some Patterns
The Wildcard
Quantifiers
Grouping in Patterns
Alternatives
Character Classes
Unicode Properties
Anchors
Exercises
Chapter 8Matching with Regular Expressions
Matches with m//
Match Modifiers
The Binding Operator =~
The Match Variables
Precedence
A Pattern Test Program
Exercises
Chapter 9Processing Text with Regular Expressions
Substitutions with s///
The split Operator
The join Function
m// in List Context
More Powerful Regular Expressions
Exercises
Chapter 10More Control Structures
The unless Control Structure
The until Control Structure
Statement Modifiers
The Naked Block Control Structure
The elsif Clause
Autoincrement and Autodecrement
The for Control Structure
Loop Controls
The Conditional Operator
Logical Operators
Exercises
Chapter 11Perl Modules
Finding Modules
Installing Modules
Using Simple Modules
Exercises
Chapter 12File Tests
File Test Operators
The stat and lstat Functions
The localtime Function
Bitwise Operators
Exercises
Chapter 13Directory Operations
The Current Working Directory
Changing the Directory
Globbing
An Alternate Syntax for Globbing
Directory Handles
Manipulating Files and Directories
Removing Files
Renaming Files
Links and Files
Making and Removing Directories
Modifying Permissions
Changing Ownership
Changing Timestamps
Exercises
Chapter 14Strings and Sorting
Finding a Substring with index
Manipulating a Substring with substr
Formatting Data with sprintf
Advanced Sorting
Exercises
Chapter 15Process Management
The system Function
The Environment Variables
The exec Function
Using Backquotes to Capture Output
External Processes with IPC::System::Simple
Processes as Filehandles
Getting Down and Dirty with Fork
Sending and Receiving Signals
Exercises
Chapter 16Some Advanced Perl Techniques
Slices
Trapping Errors
Picking Items from a List with grep
Transforming Items from a List with map
Fancier List Utilities
Exercises
Appendix Exercise Answers
Answers to Chapter 1 Exercises
Answers to Chapter 2 Exercises
Answers to Chapter 3 Exercises
Answers to Chapter 4 Exercises
Answers to Chapter 5 Exercises
Answers to Chapter 6 Exercises
Answers to Chapter 7 Exercises
Answers to Chapter 8 Exercises
Answers to Chapter 9 Exercises
Answers to Chapter 10 Exercises
Answers to Chapter 11 Exercises
Answers to Chapter 12 Exercises
Answers to Chapter 13 Exercises
Answers to Chapter 14 Exercises
Answers to Chapter 15 Exercises
Answers to Chapter 16 Exercises
Appendix Beyond the Llama
Further Documentation
Regular Expressions
Packages
Extending Perl's Functionality
Databases
Mathematics
Lists and Arrays
Bits and Pieces
Formats
Networking and IPC
Security
Debugging
Command-Line Options
Built-In Variables
References
Tied Variables
Operator Overloading
Using Other Languages Inside Perl
Embedding
Converting find Command Lines to Perl
Command-Line Options in Your Programs
Embedded Documentation
More Ways to Open Filehandles
Graphical User Interfaces (GUIs)
And More.
Appendix A Unicode Primer
Unicode
UTF-8 and Friends
Getting Everyone to Agree
Fancy Characters
Dealing with Unicode in Perl
Further Reading
Appendix Experimental Features
A Short History of Perl Development
Installing a Recent Perl
Experimental Features