, , e.a.

Programming Perl, 4th Edition

Unmatched Power for Text Processing and Scripting (Covers Version 5.14)

Specificaties
Paperback, 1130 blz. | Engels
O'Reilly | 4e druk, 2012
ISBN13: 9780596004927
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 4e druk, 2012 9780596004927
€ 66,74
Levertijd ongeveer 15 werkdagen

Samenvatting

Adopted as the undisputed Perl bible soon after the first edition appeared in 1991, 'Programming Perl' is still the go-to guide for this highly practical language. Perl began life as a super-fueled text processing utility, but quickly evolved into a general purpose programming language that's helped hundreds of thousands of programmers, system administrators, and enthusiasts, like you, get your job done.

In this much-anticipated update to "the Camel," three renowned Perl authors cover the language up to its current version, Perl 5.14, with a preview of features in the upcoming 5.16. In a world where Unicode is increasingly essential for text processing, Perl offers the best and least painful support of any major language, smoothly integrating Unicode everywhere-including in Perl's most popular feature: regular expressions.

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

Specificaties

ISBN13:9780596004927
Taal:Engels
Bindwijze:paperback
Aantal pagina's:1130
Uitgever:O'Reilly
Druk:4
Hoofdrubriek:IT-management / ICT

Over Brian d foy

Brian d foy is author of 'Mastering Perl' and 'Learning Perl Student Workbook', and co-author of several more books on Perl. He established the first Perl user group, the New York Perl Mongers; published the print magazine Perl Review; maintains perlfaq; and was a Perl trainer for ten years.

Andere boeken door Brian d foy

Inhoudsopgave

Preface

Part 1: Overview
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)

Part 2: The Gory Details
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

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

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

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

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

7. Subroutines
-Syntax
-Semantics
-Passing References
-Prototypes
-Subroutine Attributes

8. References
-What Is a Reference?
-Creating References
-Using Hard References
-Symbolic References
-Braces, Brackets, and Quoting

9. Data Structures
-Arrays of Arrays
-Hashes of Arrays
-Arrays of Hashes
-Hashes of Hashes
-Hashes of Functions
-More Elaborate Records
-Saving Data Structures

10. Packages
-Symbol Tables
-Qualified Names
-The Default Package
-Changing the Package
-Autoloading

11. Modules
-Loading Modules
-Unloading Modules
-Creating Modules
-Overriding Built-in Functions

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

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

14. Tied Variables
-Tying Scalars
-Tying Arrays
-Tying Hashes
-Tying Filehandles
-A Subtle Untying Trap
-Tie Modules on CPAN

Part 2: Perl as Technology
15. Interprocess Communication
-Signals
-Files
-Pipes
-System V IPC
-Sockets

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

17. The Command-Line Interface
-Command Processing
-Environment Variables

18. The Perl Debugger
-Using the Debugger
-Debugger Commands
-Debugger Customization
-Unattended Execution
-Debugger Support
-Profiling Perl

19. CPAN
-History
-A Tour of the Repository
-The CPAN Ecosystem
-Installing CPAN Modules
-Creating CPAN Distributions

Part 4: Perl as Culture
20. Security
-Handling Insecure Data
-Handling Timing Glitches
-Handling Insecure Code

21. Common Practices
-Common Goofs for Novices
-Efficiency
-Programming with Style
-Fluent Perl
-Program Generation

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

23. Plain Old Documentation
-Pod in a Nutshell
-Pod Translators and Modules
-Writing Your Own Pod Tools
-Pod Pitfalls
-Documenting Your Perl Programs

24. Perl Culture
-History Made Practical
-Perl Poetry
-Virtues of the Perl Programmer
-Events
-Getting Help

Part 5: Reference Material
25. Special Names
-Special Names Grouped by Type
-Special Variables in Alphabetical Order

26. Formats
-String Formats
-Binary Formats
-Picture Formats

27. Functions
-Perl Functions by Category
-Perl Functions in Alphabetical Order

28. The Standard Perl Library
-Library Science
-A Tour of the Perl Library

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

Glossary
Index of Perl Modules in This Book
Index
€ 66,74
Levertijd ongeveer 15 werkdagen

Rubrieken

    Personen

      Trefwoorden

        Programming Perl, 4th Edition