search for books and compare prices
Tables of Contents for Programming Perl
Chapter/Section Title
Page #
Page Count
Preface
xvii
 
I: Overview
1
44
An Overview of Perl
3
42
Getting Started
3
1
Natural and Artificial Languages
4
13
An Average Example
17
3
Filehandles
20
2
Operators
22
7
Control Structures
29
6
Regular Expressions
35
6
List Processing
41
2
What You Don't Know Won't Hurt You (Much)
43
2
II: The Gory Details
45
354
Bits and Pieces
47
39
Atoms
47
2
Molecules
49
1
Built-in Data Types
50
2
Variables
52
1
Names
53
5
Scalar Values
58
11
Context
69
3
List Values and Arrays
72
4
Hashes
76
2
Typeglobs and Filehandles
78
1
Input Operators
79
7
Unary and Binary Operators
86
25
Terms and List Operators (Leftward)
89
1
The Arrow Operator
90
1
Autoincrement and Autodecrement
91
1
Exponentiation
92
1
Ideographic Unary Operators
92
1
Binding Operators
93
1
Multiplicative Operators
94
1
Additive Operators
95
1
Shift Operators
95
1
Named Unary and File Test Operators
95
5
Relational Operators
100
1
Equality Operators
101
1
Bitwise Operators
101
1
C-Style Logical (Short-Circuit) Operators
102
1
Range Operator
103
2
Conditional Operator
105
2
Assignment Operators
107
1
Comma Operators
108
1
List Operators (Rightward)
109
1
Logical and, or, not, and xor
109
1
C Operators Missing from perl
110
1
Statements and Declarations
111
28
Simple Statements
111
2
Compound Statements
113
1
if and unless Statements
114
1
Loop Statements
115
8
Bare Blocks
123
3
goto
126
1
Global Declarations
127
2
Scoped Declarations
129
7
Pragmas
136
3
Pattern Matching
139
78
The Regular Expression Bestiary
140
3
Pattern-Matching Operators
143
15
Metacharacters and Metasymbols
158
7
Character Classes
165
11
Quantifiers
176
2
Positions
178
4
Capturing and Clustering
182
5
Alternation
187
1
Staying in Control
188
14
Fancy Patterns
202
15
Subroutines
217
17
Syntax
217
2
Semantics
219
5
Passing References
224
1
Prototypes
225
6
Subroutine Attributes
231
3
Formats
234
8
Format Variables
237
3
Footers
240
2
References
242
26
What Is a Reference?
242
3
Creating References
245
6
Using Hard References
251
12
Symbolic References
263
1
Braces, Brackets, and Quoting
264
4
Data Structures
268
20
Arrays of Arrays
268
7
Hashes of Arrays
275
2
Arrays of Hashes
277
2
Hashes of Hashes
279
3
Hashes of Functions
282
1
More Elaborate Records
283
3
Saving Data Structures
286
2
Packages
288
11
Symbol Tables
293
3
Autoloading
296
3
Modules
299
9
Using Modules
299
2
Creating Modules
301
5
Overriding Built-in Functions
306
2
Objects
308
39
Brief Refresher on Object-Oriented Lingo
308
2
Perl's Object System
310
1
Method Invocation
311
6
Object Construction
317
4
Class Inheritance
321
9
Instance Destructors
330
1
Managing Instance Data
331
12
Managing Class Data
343
3
Summary
346
1
Overloading
347
16
The overload Pragma
348
1
Overload Handlers
349
1
Overloadable Operators
350
7
The Copy Constructor (=)
357
1
When an Overload Handler Is Missing (nomethod and fallback)
358
1
Overloading Constants
359
1
Public Overload Functions
360
1
Inheritance and Overloading
361
1
Run-Time Overloading
361
1
Overloading Diagnostics
362
1
Tied Variables
363
36
Tying Scalars
365
7
Tying Arrays
372
6
Tying Hashes
378
6
Tying Filehandles
384
11
A Subtle Untying Trap
395
2
Tie Modules on CPAN
397
2
III: Perl as Technology
399
146
Unicode
401
10
Building Character
402
3
Effects of Character Semantics
405
4
Caution, Working
409
2
Interprocess Communication
411
35
Signals
412
6
Files
418
8
Pipes
426
8
System V IPC
434
3
Sockets
437
9
Threads
446
18
The Process Model
447
1
The Thread Model
448
16
Compiling
464
22
The Life Cycle of a Perl Program
465
2
Compiling Your Code
467
6
Executing Your Code
473
3
Compiler Backends
476
1
Code Generators
477
2
Code Development Tools
479
1
Avant-Garde Compiler, Retro Interpreter
480
6
The Command-Line Interface
486
20
Command Processing
486
17
Environment Variables
503
3
The Perl Debugger
506
24
Using the Debugger
507
2
Debugger Commands
509
9
Debugger Customization
518
3
Unattended Execution
521
2
Debugger Support
523
2
The Perl Profiler
525
5
Internals and Externals
530
15
How Perl Works
531
1
Internal Data Types
531
1
Extending Perl (Using C from Perl)
532
6
Embedding Perl (Using Perl from C)
538
6
The Moral of the Story
544
1
IV: Perl as Culture
545
106
CPAN
547
10
The CPAN modules Directory
548
3
Using CPAN Modules
551
3
Creating CPAN Modules
554
3
Security
557
28
Handling Insecure Data
558
11
Handling Timing Glitches
569
7
Handling Insecure Code
576
9
Common Practices
585
36
Common Goofs for Novices
585
8
Efficiency
593
10
Programming with Style
603
4
Fluent Perl
607
9
Program Generation
616
5
Portable Perl
621
8
Newlines
622
1
Endianness and Number Width
623
1
Files and Filesystems
624
1
System Interaction
625
1
Interprocess Communication (IPC)
626
1
External Subroutines (XS)
626
1
Standard Modules
627
1
Dates and Times
627
1
Internationalization
628
1
Style
628
1
Plain Old Documentation
629
16
Pod in a Nutshell
629
9
Pod Translators and Modules
638
2
Writing Your Own Pod Tools
640
3
Pod Pitfalls
643
1
Documenting Your Perl Programs
644
1
Perl Culture
645
6
History Made Practical
645
2
Perl Poetry
647
4
V: Reference Material
651
328
Special Names
653
24
Special Names Grouped by Type
653
3
Special Variables in Alphabetical Order
656
21
Functions
677
154
Perl Functions by Category
680
2
Perl Functions in Alphabetical Order
682
149
The Standard Perl Library
831
5
Library Science
831
2
A Tour of the Perl Library
833
3
Pragmatic Modules
836
29
use attributes
837
1
use autouse
838
1
use base
839
1
use blib
840
1
use bytes
840
1
use charnames
841
1
use constant
842
2
use diagnostics
844
2
use fields
846
2
use filetest
848
1
use integer
849
1
use less
850
1
use lib
850
2
use locale
852
1
use open
852
1
use overload
853
1
use re
854
1
use sigtrap
855
3
use strict
858
2
use subs
860
1
use vars
861
1
use warnings
861
4
Standard Modules
865
51
Listings by Type
866
9
Benchmark
875
3
Carp
878
1
CGI
878
1
CGI::Carp
879
1
Class::Struct
879
1
Config
880
1
CPAN
881
1
Cwd
881
1
Data::Dumper
882
1
DB_File
883
1
Dumpvalue
884
1
English
884
1
Errno
885
1
Exporter
885
1
Fatal
886
1
Fcntl
887
1
File::Basename
887
1
File::Compare
888
1
File::Copy
889
1
File::Find
889
1
File::Glob
890
3
File::Spec
893
1
File::stat
894
1
File::Temp
894
1
FileHandle
895
3
Getopt::Long
898
1
Getopt::Std
899
1
IO::Socket
899
1
IPC::Open2
900
1
IPC::Open3
901
1
Math::BigInt
902
1
Math::Complex
902
1
Math::Trig
903
1
Net::hostent
903
1
POSIX
904
2
Safe
906
1
Socket
907
1
Symbol
908
1
Sys::Hostname
909
1
Sys::Syslog
909
2
Term::Cap
911
1
Text::Wrap
911
1
Time::Local
912
1
Time::localtime
912
1
User::grent
913
1
User::pwent
913
3
Diagnostic Messages
916
63
Glossary
979
30
Index
1009