did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781565923249

Learning Perl on Win32 Systems

by
  • ISBN13:

    9781565923249

  • ISBN10:

    1565923243

  • Format: Paperback
  • Copyright: 1997-08-01
  • Publisher: Oreilly & Associates Inc

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $34.95 Save up to $8.74
  • Buy Used
    $26.21

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

In this carefully paced course, leading Perl trainers and a Windows NT practitioner teach you to program in the language that promises to emerge as the scripting language of choice on NT. Based on the "llama" book, this book features tips for PC users and new NT-specific examples, along with a foreword by Larry Wall, the creator of Perl, and Dick Hardt, the creator of Perl for Win32.

Author Biography

Erik Olson is a renegade linguist who makes a living developing software for Win32 platforms. Erik is currently the chief technical officer at Axiom Technologies, LC, a software outsourcing shop. Erik delivers developer training, system administration, and program/concept development for a number of large-scale horizontal and vertical applications. Working as a program developer since 1986, Erik has implemented a variety of systems ranging from point-of-sales systems to horizontal PIM products to real-time financial market applications. Although much of his work is done in C++, he has particular interests in Web development and scripting languages. Erik coauthored Learning Perl on Win32 Systems with Tom Christiansen and Randal Schwartz.

Tom Christiansen is a freelance consultant specializing in Perl training and writing. After working for several years for TSR Hobbies (of Dungeons and Dragons fame), he set off for college where he spent a year in Spain and five in America, dabbling in music, linguistics, programming, and some half-dozen different spoken languages. Tom finally escaped UW-Madison with B.A.s in Spanish and computer science and an M.S. in computer science. He then spent five years at Convex as a jack-of-all-trades working on everything from system administration to utility and kernel development, with customer support and training thrown in for good measure. Tom also served two terms on the USENIX Association Board of directors. With over fifteen years' experience in UNIX system administration and programming, Tom presents seminars internationally. Living in the foothills above Boulder, Colorado, surrounded by mule deer, skunks, and the occasional mountain lion and black bear, Tom takes summers off for hiking, hacking, birding, music making, and gaming.

Table of Contents

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

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program