Flylib.com
Sams Teach Yourself Perl in 24 Hours (3rd Edition)
Sams Teach Yourself Perl in 24 Hours (3rd Edition)
ISBN: 0672327937
EAN: 2147483647
Year: 2005
Pages: 241
Authors:
Clinton Pierce
BUY ON AMAZON
SAMS Teach Yourself Perl in 24 Hours THIRD EDITION
Table of Contents
Copyright
About the Author
Acknowledgments
We Want to Hear from You
Reader Services
Introduction
How to Use This Book
Conventions Used in This Book
Part I: Perl Fundamentals
Hour 1. Getting Started with Perl
Installing Perl
Documentation
Your First Program
Summary
QA
Workshop
Hour 2. Perl s Building Blocks: Numbers and Strings
Literals
Scalar Variables
Expressions and Operators
More Operators
Exercise: Interest Calculator
Summary
QA
Workshop
Hour 3. Controlling the Program s Flow
Blocks
The if Statement
Looping
Other Flow Control Tools
Exercise: Finding Primes
Summary
QA
Workshop
Hour 4. Stacking Building Blocks: Lists and Arrays
Putting Things into Lists and Arrays
Getting Elements Out of an Array
Manipulating Arrays
Exercise: Playing a Little Game
Summary
QA
Workshop
Hour 5. Working with Files
Opening Files
Reading
Writing
Free Files, Testing Files, and Binary Data
Summary
QA
Workshop
Hour 6. Pattern Matching
Simple Patterns
The Metacharacters
Substitution
Exercise: Cleaning Up Input Data
Pattern Matching Odds and Ends
Summary
QA
Workshop
Hour 7. Hashes
Filling Your Hash
Getting Data Out of a Hash
Lists and Hashes
Hash Odds and Ends
Useful Things to Do with a Hash
Exercise: Creating a Simple Customer Database with Perl
Summary
QA
Workshop
Hour 8. Functions
Creating and Calling Subroutines
Scope
Exercise: Statistics
Function Footnotes
Summary
QA
Workshop
Part II: Advanced Features
Hour 9. More Functions and Operators
Searching Scalars
Transliteration, Not Substitution
A Better Way to print
Exercise: A Formatted Report
New Ways with Arrays
Summary
QA
Workshop
Hour 10. Files and Directories
Getting a Directory Listing
Exercise: The Unix grep
Directories
Unix Stuff
Everything You Ever Wanted to Know About THAT File
Exercise: Renaming Files En Masse
Summary
QA
Workshop
Hour 11. System Interaction
The system() Function
Capturing Output
Pipes
First Lesson in Portability
Summary
QA
Workshop
Hour 12. Using Perl s Command-Line Tools
What Is the Debugger?
Exercise: Finding the Bug
Other Command-Line Stuff
Summary
QA
Workshop
Hour 13. References and Structures
Reference Basics
Recipes for Structures
Exercise: Another Game, Maze
Summary
QA
Workshop
Hour 14. Using Modules
A Gentle Introduction
A Quick Tour
Full List of Standard Modules
Summary
QA
Workshop
Hour 15. Finding Permanence
DBM Files
Exercise: A Free-Form Memo Pad
Text Files as Databases
Random File Access
Locking
Summary
QA
Workshop
Hour 16. The Perl Community
What s Perl All About, Anyway?
The Comprehensive Perl Archive Network (CPAN)
Your Next Steps
Other Resources
Summary
QA
Workshop
Part III: Applying Perl
Hour 17. Writing Modules
Building a Module
Scoping Revisited
Another statement: our
Example: A Module to Handle Common File Information Requests
Summary
QA
Workshop
Hour 18. Object Primer
Classes, Properties, and Methods
Example: Implementation of Car in Perl
Example: File Information Class
Summary
QA
Workshop
Hour 19. Data Processing
How to Look at Data
Dealing with Table Data
XML Data
Summary
QA
Workshop
Hour 20. Perl as a Glue Language
Weather Station
Presenting Data as PDF
Reading and Writing Excel Spreadsheets
Summary
QA
Workshop
Hour 21. Introduction to CGI
Browsing the Web
Don t Skip This Section
Your First CGI Program
What to Do When Your CGI Program Doesn t Work
Summary
QA
Workshop
Hour 22. Basic Forms
How Forms Work
Passing Information to Your CGI Program
Web Security 101
A Guestbook
Summary
QA
Workshop
Hour 23. Complex Forms
The Stateless Web
Hidden Fields
A Multipage Survey
Summary
QA
Workshop
Hour 24. Manipulating HTTP and Cookies
The HTTP Conversation
More Details on Calling CGI Programs
Cookies
Long Term Cookies
Problems with Cookies
Summary
QA
Workshop
Part IV: Appendixes
Appendix A. Installing Modules
Picking the Right Module
Installing the Modules Under...
What to Do When You re Not Allowed to Install Modules
Index
index_SYMBOL
index_A
index_B
index_C
index_D
index_E
index_F
index_G
index_H
index_I
index_J
index_K
index_L
index_M
index_N
index_O
index_P
index_Q
index_R
index_S
index_T
index_U
index_V
index_W
index_X
index_Y
index_Z
Sams Teach Yourself Perl in 24 Hours (3rd Edition)
ISBN: 0672327937
EAN: 2147483647
Year: 2005
Pages: 241
Authors:
Clinton Pierce
BUY ON AMAZON
Absolute Beginner[ap]s Guide to Project Management
The Goal of the Schedule Development Process
Determining the Project Budget
Controlling a Project
Essential Elements of a Project Change Control System
Best Practices
Inside Network Security Assessment: Guarding Your IT Infrastructure
Risk-Assessment Methodologies
Best Practices for Quantitative and Qualitative Risk Assessment
Post-Assessment Activities
Critical Systems and Information Forms
Executive Summary
Java How to Program (6th Edition) (How to Program (Deitel))
Structured Programming Summary
Collections Algorithms
JTabbedPane
Streams
Class Character
Persuasive Technology: Using Computers to Change What We Think and Do (Interactive Technologies)
Overview of Captology
The Functional Triad Computers in Persuasive Roles
Computers as Persuasive Tools
Computers as Persuasive Media Simulation
Credibility and Computers
Python Standard Library (Nutshell Handbooks) with
The StringIO Module
The formatter Module
The netrc Module
The nntplib Module
The sunau Module
Digital Character Animation 3 (No. 3)
Conclusion
Animation Interfaces
The Language of Movement
Animating with Poses
Animating Dialogue
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies