Beginning Perl

Front Cover
Apress, Sep 1, 2004 - Computers - 460 pages

Originally created as a powerful text processing tool, Perl has since evolved into a multi-purpose, multi-platform language capable of implementing a variety of tasks such as system administration, CGI and network programming, XML processing, and more. Beginning Perl, Second Edition provides valuable insight into Perl's role in all of these tasks and more.

Commencing with a comprehensive overview of language basics, you'll learn all about important concepts such as Perl's data types and control flow constructs. This material sets the stage for a discussion of more complex topics, such as writing custom functions, using regular expressions, and file input and output. Next, we move on to the advanced topics of object oriented programming, modules, CGI programming, and database administration with Perl's powerful database interface module, DBI. The examples and code provided offer you all of the information you need to start writing your own powerful scripts to solve the problems listed above, and many more.

Whether you are a complete novice or an experienced programmer, Beginning Perl, Second Edition offers an ideal guide to learning Perl.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

First Steps in Perl
1
Scalars
13
Control Flow Constructs
51
Lists and Arrays
77
Hashes
111
SubroutinesFunctions
127
Regular Expressions
149
Files and Data
177
Interfacing to the Operating System
213
References
229
ObjectOriented Perl
253
Modules
287
Introduction to CGI
315
Perl and DBI
347
Exercise Solutions
385
Index
407

String Processing
205

Other editions - View all

Common terms and phrases

About the author (2004)

James Lee is a hacker and open-source advocate based in Illinois. He holds a master's degree from Northwestern University, and he can often be seen rooting for the Wildcats during football season. As founder of Onsight, Lee has worked as a programmer, trainer, manager, writer, and open-source advocate. Lee coauthored Hacking Linux Exposed, Second Edition, as well as Open Source Web Development with LAMP. He enjoys hacking Perl and has written many articles on Perl for Linux Journal. Lee also enjoys developing software for the Web, reading, traveling and, most of all, playing with his kids, who are too young to know why dad's favorite animals are penguins and camels.