search for books and compare prices
Tables of Contents for Learning Perl on Win32 Systems
Chapter/Section Title
Page #
Page Count
Foreword to the First Edition of Learning Perl
xi
4
Foreword to the Present Edition
xv
2
Preface
xvii
 
1. Introduction
1
37
History of Perl
1
2
Purpose of Perl
3
1
Availability
4
3
Support
7
2
Basic Concepts
9
3
A Stroll Through Perl
12
25
Exercises
37
1
2. Scalar Data
38
17
What Is Scalar Data?
38
1
Numbers
38
2
Strings
40
2
Scalar Operators
42
5
Scalar Variables
47
1
Scalar Operators and Functions
48
4
[STDIN] as a Scalar Value
52
1
Output with print
53
1
The Undefined Value
53
1
Exercises
54
1
3. Arrays and List Data
55
10
What Is a List or Array?
55
1
Literal Representation
55
1
Variables
56
1
Array Operators and Functions
57
5
Scalar and List Context
62
1
STDIN as an Array
63
1
Variable Interpolation of Arrays
63
1
Exercises
64
1
4. Control Structures
65
8
Statement Blocks
65
1
The if/unless Statement
66
2
The while/until Statement
68
1
The do {} while/until Statement
69
1
The for Statement
70
1
The foreach Statement
70
2
Exercises
72
1
5. Hashes
73
6
What Is a Hash?
73
1
Hash Variables
73
1
Literal Representation of a Hash
74
1
Hash Functions
75
2
Hash Slices
77
1
Exercises
78
1
6. Basic I O
79
5
Input from STDIN
79
1
Input from the Diamond Operator
80
1
Output to STDOUT
81
1
Exercises
82
2
7. Regular Expressions
84
16
Concepts About Regular Expressions
84
1
Simple Uses of Regular Expressions
84
2
Patterns
86
6
More on the Matching Operator
92
4
Substitutions
96
1
The split and join Functions
97
2
Exercises
99
1
8. Functions
100
9
Defining a User Function
100
1
Invoking a User Function
101
1
Return Values
102
1
Arguments
102
2
Private Variables in Functions
104
2
Semiprivate Variables Using local
106
1
File-Level my() Variables
107
1
Exercises
107
2
9. Miscellaneous Control Structures
109
7
The last Statement
109
1
The next Statement
110
1
The redo Statement
111
1
Labeled Blocks
112
1
Expression Modifiers
113
1
&&, and ?: as Control Structures
114
1
Exercises
115
1
10. Filehandles and File Tests
116
10
What Is a Filehandle?
116
1
Opening and Closing a Filehandle
116
1
Using Pathnames and Filenames
117
2
A Slight Diversion: die
119
1
Using Filehandles
120
1
The -x File Tests
121
2
The stat Function
123
1
Exercises
124
2
11. Formats
126
13
What Is a Format?
126
1
Defining a Format
127
1
Invoking a Format
128
2
More About the Fieldholders
130
4
The Top-of-Page Format
134
1
Changing Defaults for Formats
135
3
The FileHandle Module
138
1
Exercises
138
1
12. Directory Access
139
5
Moving Around the Directory Tree
139
1
Globbing
140
1
Directory Handles
141
1
Opening and Closing a Directory Handle
142
1
Reading a Directory Handle
142
1
Exercises
143
1
13. File and Directory Manipulation
144
6
Removing a File
144
1
Renaming a File
145
1
Making and Removing Directories
146
1
Modifying Permissions
146
2
Modifying Timestamps
148
1
Exercises
149
1
14. Process Management
150
7
Using system and exec
150
2
Using Backquotes
152
1
Using Processes as Filehandles
153
1
Summary of Process Operations
154
1
Win32:: Process
155
1
Exercises
156
1
15. Other Data Transformation
157
10
Finding a Substring
157
1
Extracting and Replacing a Substring
158
2
Formatting Data with sprintf()
160
1
Advanced Sorting
160
3
Transliteration
163
3
Exercises
166
1
16. System Information
167
10
Getting User and Machine Information
167
1
Packing and Unpacking Binary Data
168
2
Getting Network Information
170
1
The Registry
171
2
Opening and Reading Registry Values
173
2
Setting Registry Values
175
1
Exercises
176
1
17. Database Manipulation
177
7
DBM Databases and DBM Hashes
177
1
Opening and Closing DBM Hashes
178
1
Using a DBM Hash
179
1
Fixed-Length Random-Access Databases
179
2
Variable-Length (Text) Databases
181
1
Win32 Database Interfaces
182
1
Exercises
183
1
18. CGI Programming
184
28
The CGI.pm Module
185
1
Your CGI Program in Context
186
2
Simplest CGI Program
188
1
Passing Parameters via CGI
189
9
Creating a Guestbook Program
198
9
Troubleshooting CGI Programs
207
2
Perl and the Web: Beyond CGI Programming
209
1
Further Reading
210
1
Exercises
211
1
19. OLE Automation
212
9
Introduction to OLE Automation
212
1
Creating Automation Objects
213
1
Using Automation Objects
214
4
Variants
218
1
Tips and Techniques
219
1
Exercises
220
1
A. Exercise Answers
221
22
B. Libraries and Modules
243
16
C. Networking Clients
259
5
D. Topics We Didn't Mention
264
5
Index
269