Home > Store

Sams Teach Yourself Perl in 21 Days

Register your product to gain access to bonus material or receive a coupon.

Sams Teach Yourself Perl in 21 Days

eBook (Adobe DRM)

  • Sorry, this book is no longer in print.
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:


    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.
Not for Sale

Description

  • Copyright 2004
  • Pages: 720
  • Edition: 1st
  • eBook (Adobe DRM)
  • ISBN-10: 0-7686-5916-7
  • ISBN-13: 978-0-7686-5916-0

Teach Yourself Perl in 21 Days will cover the basics in the first few chapters, and then move to practical uses of Perl and in-depth discussions of more advanced topics. Later chapters will also delve into software engineering topics, with discussions of modular code and object-oriented programming. CGI will be covered in one chapter, but will not be the focus of the book. Teach Yourself Perl will rely heavily on longer working examples and code, as opposed to small snippets and code fragments. Each chapter will include two to three smaller complete examples and one major one that illustrates most of the concepts for that chapter and builds on the chapters before it.

Sample Content

Table of Contents

WEEK 1. GETTING STARTED.

DAY 1. An Introduction To Perl.

What Is Perl and Where Did It Come From? Why Learn Perl? Getting Started Programming in Perl. An Example: The Ubiquitous Hello World. Another Example: Echo. A Third Example: The Cookie Monster. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 2. Working With Strings and Numbers.

Scalar Data and Scalar Variables. Constructing Perl Scripts. Arithmetic Operators. An Example: Converting Fahrenheit to Celsius. Operators for Tests and Comparisons. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 3. More Scalar Data and Operators.

Assignment Operators. Increment and Decrement Operators. String Concatenation and Repetition. Operator Precedence and Associativity. An Example: Simple Statistics. Input and Output. A Note About Using Functions. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 4. Working With Lists and Arrays.

List Data and Variables. Defining and Using Lists and Arrays. An Example: More Stats. List and Scalar Context. Input, Output, and Lists. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 5. Working With Hashes.

Hashes Versus Arrays and Lists. Hashes. An Example: Frequencies in the Statistics Program. Another Example: Alphabetical Lists of Names. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 6. Conditionals and Loops.

Complex Statements and Blocks. Conditionals. while Loops. An Example: Pick a Number. Iteration with for Loops. Controlling Loops. Using the $_ (Default) Variable. Input from Files with while Loops and <>. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 7. Exploring a Few Longer Examples.

Statistics with a Better Histogram. A Number Speller. Text-to-HTML Converter Script. Summary.

WEEK 2. DOING MORE.

DAY 8. Manipulating Lists and Strings.

Array and Hash Slices. Sorting Lists. Searching. An Example: More Names. Modifying List Elements. Other Ways to Mess with Lists. Manipulating Strings. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 9. Pattern Matching With Regular Expressions.

The Whys and Wherefores of Pattern Matching. Pattern Matching Operators and Expressions. Simple Patterns. Matching Groups of Characters. An Example: Optimizing numspeller. Matching Multiple Instances of Characters. More About Building Patterns. Another Example: Counting. Pattern Precedence. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 10. Doing More With Regular Expressions.

Extracting Matches. Using Patterns for Search and Replace. More About split. Matching Patterns over Multiple Lines. A Summary of Options and Escapes. An Example: Image Extractor. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 11. Creating and Using Subroutines.

Subroutines Versus Functions. Defining and Calling Basic Subroutin

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.