Learning Perl
Author: Randal L Schwartz
Learning Perl, popularly known as "the Llama," is the book most programmers rely on to get started with Perl. The bestselling Perl tutorial since it was first published in 1993, this new fifth edition covers recent changes to the language up to Perl 5.10. This book reflects the combined experience of its authors, who have taught Perl at Stonehenge Consulting since 1991. Years of classroom testing and experience helped shape the book's pace and scope, and this edition is packed with exercises that let you practice the concepts while you follow the text. Topics include: Perl data & variable types Subroutines File operations Regular expressions String manipulation Lists & sorting Process management Smart matching Using third party modules Perl is the language for people who want to get work done. Originally targeted to sysadmins for heavy-duty text processing, Perl is now a full-featured programming language suitable for almost any task on almost any platform-from short fixes on the command line to web applications, bioinformatics, finance, and much more. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer.
Booknews
A hands-on tutorial featuring exercises and complete solutions, covering basics rather than advanced issues. Contents include Perl basics, the language's broad capabilities, brief code examples, system commands, and how to manage DBM databases using Perl. This second edition contains a new chapter on CGI programming. Annotation c. by Book News, Inc., Portland, Or.
Table of Contents:
Preface xiIntroduction 1
Questions and Answers 1
What Does "Perl" Stand For? 4
How Can I Get Perl? 8
How Do I Make a Perl Program? 12
A Whirlwind Tour of Perl 16
Exercises 17
Scalar Data 19
Numbers 19
Strings 22
Perl's Built-in Warnings 26
Scalar Variables 27
Output with print 29
The if Control Structure 33
Getting User Input 34
The chomp Operator 35
The while Control Structure 36
The undef Value 36
The defined Function 37
Exercises 38
Lists and Arrays 39
Accessing Elements of an Array 40
Special Array Indices 41
List Literals 41
List Assignment 43
Interpolating Arrays into Strings 46
The foreach Control Structure 47
Scalar and List Context 49
[left angle bracket]STDIN[right angle bracket] in List Context 52
Exercises 54
Subroutines 55
Defining a Subroutine 55
Invoking a Subroutine 56
Return Values 56
Arguments 58
Private Variables in Subroutines 60
Variable-Length Parameter Lists 60
Notes on Lexical (my) Variables 63
The use strict Pragma 64
The return Operator 65
Nonscalar Return Values 67
Persistent, Private Variables 68
Exercises 69
Input and Output 71
Input from Standard Input 71
Input from the Diamond Operator 73
The Invocation Arguments 75
Output to Standard Output 76
Formatted Output with printf 79
Filehandles 81
Opening a Filehandle 83
Fatal Errors with die 86
Using Filehandles 88
Reopening a Standard Filehandle 90
Output with say 90
Exercises 91
Hashes 93
What Is a Hash? 93
Hash Element Access 96
Hash Functions 100
Typical Use of a Hash 103
The %ENV hash 104
Exercises 105
In the World of Regular Expressions 107
What Are Regular Expressions? 107
Using Simple Patterns 108
Character Classes 113
Exercises 115
Matching with Regular Expressions 117
Matches with m// 117
Option Modifiers 118
Anchors 120
The Binding Operator, =
Book review: Ultimate Cheesecake Cookbook or Monday Night Is Chicken Night
Microsoft IIS 6.0 Administrator's Pocket Consultant
Author: William R Stanek
Here's the eminently practical, pocket-sized reference for IT and Web professionals working with Microsoft IIS 6.0. Designed for quick referencing and compulsively readable, this portable guide covers all the basics needed for everyday tasks. Topics include Web administration fundamentals, Web server administration, essential services administration, and performance, optimization, and maintenance. It's the fast-answers guide that helps users consistently save time and energy as they administer IIS 6.0.
No comments:
Post a Comment