Book description
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
Publisher resources
Table of contents
- Programming Perl
- A Note Regarding Supplemental Files
- Preface
- I. Overview
-
II. The Gory Details
- 2. Bits and Pieces
-
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
- 5. Pattern Matching
- 6. Unicode
- 7. Subroutines
- 8. References
- 9. Data Structures
- 10. Packages
- 11. Modules
- 12. Objects
- 13. Overloading
- 14. Tied Variables
-
III. Perl as Technology
- 15. Interprocess Communication
- 16. Compiling
- 17. The Command-Line Interface
- 18. The Perl Debugger
- 19. CPAN
- IV. Perl as Culture
-
V. Reference Material
- 25. Special Names
- 26. Formats
-
27. Functions
- Perl Functions by Category
-
Perl Functions in Alphabetical Order
- abs
- accept
- alarm
- atan2
- bind
- binmode
- bless
- break
- caller
- chdir
- chmod
- chomp
- chop
- chown
- chr
- chroot
- close
- closedir
- connect
- continue
- cos
- crypt
- dbmclose
- dbmopen
- defined
- delete
- die
- do (block)
- do (file)
- do (subroutine)
- dump
- each
- eof
- eval
- exec
- exists
- exit
- exp
- _ _FILE_ _
- fc
- fcntl
- fileno
- flock
- fork
- format
- formline
- getc
- getgrent
- getgrgid
- getgrnam
- gethostbyaddr
- gethostbyname
- gethostent
- getlogin
- getnetbyaddr
- getnetbyname
- getnetent
- getpeername
- getpgrp
- getppid
- getpriority
- getprotobyname
- getprotobynumber
- getprotoent
- getpwent
- getpwnam
- getpwuid
- getservbyname
- getservbyport
- getservent
- getsockname
- getsockopt
- glob
- gmtime
- goto
- grep
- hex
- import
- index
- int
- ioctl
- join
- keys
- kill
- last
- lc
- lcfirst
- length
- _ _LINE_ _
- link
- listen
- local
- localtime
- lock
- log
- lstat
- m//
- map
- mkdir
- msgctl
- msgget
- msgrcv
- msgsnd
- my
- new
- next
- no
- oct
- open
- opendir
- ord
- our
- pack
- package
- _ _PACKAGE_ _
- pipe
- pop
- pos
- printf
- prototype
- push
- q/STRING/
- quotemeta
- rand
- read
- readdir
- readline
- readlink
- readpipe
- recv
- redo
- ref
- rename
- require
- reset
- return
- reverse
- rewinddir
- rindex
- rmdir
- s///
- say
- scalar
- seek
- seekdir
- select (output filehandle)
- select (ready file descriptors)
- semctl
- semget
- semop
- send
- setpgrp
- setpriority
- setsockopt
- shift
- shmctl
- shmget
- shmread
- shmwrite
- shutdown
- sin
- sleep
- socket
- socketpair
- sort
- splice
- split
- sprintf
- sqrt
- srand
- stat
- state
- study
- sub
- substr
- symlink
- syscall
- sysopen
- sysread
- sysseek
- system
- syswrite
- tell
- telldir
- tie
- tied
- time
- times
- tr///
- truncate
- uc
- ucfirst
- umask
- undef
- unlink
- unpack
- unshift
- untie
- use
- utime
- values
- vec
- wait
- waitpid
- wantarray
- warn
- write
- y//
- 28. The Standard 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
- About the Authors
- Colophon
- Copyright
Product information
- Title: Programming Perl, 4th Edition
- Author(s):
- Release date: February 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449321468
You might also like
book
Learning Perl, 8th Edition
If you're just getting started with Perl, this is the book you want—whether you're a programmer, …
book
Programming Perl, 3rd Edition
Perl is a powerful programming language that has grown in popularity since it first appeared in …
book
Perl Cookbook, 2nd Edition
Find a Perl programmer, and you'll find a copy of Perl Cookbook nearby. Perl Cookbook is …
book
Learning Perl, 7th Edition
If you’re just getting started with Perl, this is the book you want—whether you’re a programmer, …