Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Sams Teach Yourself Perl in 21 Days - Laura Lemay

Sams Teach Yourself Perl in 21 Days

(Autor)

Buch | Softcover
720 Seiten
1999
Sams Publishing (Verlag)
978-0-672-31305-9 (ISBN)
CHF 49,25 inkl. MwSt
zur Neuauflage
  • Titel erscheint in neuer Auflage
  • Artikel merken
Zu diesem Artikel existiert eine Nachauflage
PLEASE PROVIDE COURSE INFORMATION

PLEASE PROVIDE
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.

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 Subroutines. An Example: Son of Stats. Returning Values from Subroutines. Using Local Variables in Subroutines. Passing Values into Subroutines. Subroutines and Context. Another Example: Stats with a Menu. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 12. Debugging Perl.


Using the Debugger: A Simple Example. Starting and Running the Debugger. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 13. Scope, Modules, and Importing Code.


Global Variables and Packages. Using Non-Package Global Variables. Local Scope and Variables. Using Perl Modules. An Example: Using the Text::Wrap Module. Using Modules from CPAN (The Comprehensive Perl Archive Network). Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 14. Exploring a Few Longer Examples.


A Searchable Address Book (address.pl). A Web Log Processor (weblog.pl). Summary.

WEEK 3. ADVANCED PERL.

DAY 15. Working With Files and I/O.


Input and Output with File Handles. An Example: Extract Subjects and Save Them. File Tests. Working with @ARGV and Script Arguments. Another Example. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 16. Using Perl For CGI Scripting.


Before You Start. How CGI Works. Building a CGI Script, From Form to Response. Testing the Script. Developing CGI Scripts with CGI.pm. An Example: Survey. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 17. Managing Files and Directories.


Managing Files. Managing and Navigating Directories. An Example: Creating Links. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 18. Perl and The Operating System.


UNIX Features in Perl. Perl for Windows. MacPerl Features. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 19. Working With References.


What Is a Reference? The Basics: A General Overview of How to Use References. Using References with Subroutine Arguments and Return Values. Other Ways of Using References. Creating Nested Data Structures with References. Building Data Structures with Existing Data. Accessing Elements in Nested Data Structures. Another Example: A Database of Artists and Their Works. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 20. Odds and Ends.


Perl One-Liners. Object-Oriented Programming. An Example: Using Object-Oriented Modules. Formats. Sockets. POD (Plain Old Documentation) Files. Evaluating Code On-the-Fly. Creating International Perl Scripts. Script Security with Taint Checking. PerlScript. Perl Extensions. New and Advanced Features in Perl 5.005. Going Deeper. Summary. Q&A. Workshop. Answers.

DAY 21. Exploring a Few Longer Examples.


A Home Page Generator (myhomepage.pl). A Web-Based To Do List Manager (todolist.pl). Summary.

APPENDIXES.

A: Perl Functions.


For More Information. Perl Functions, in Alphabetical Order.

B: A Survey of Perl Modules.


Pragmas. Basic Perl Modules. Development Support Modules. Operating System Interfaces. Networking Modules. Data Type Utilities. Database-Related Modules. User Interfaces. File System Modules. String Processing Modules. Option/Argument Processing. Internationalization and Localization. Cryptography, Authentication, and Security. HTML, HTTP, WWW, and CGI-Related Modules. Archiving and Compression. Image/Bitmap Manipulation. Mail and Usenet. Flow Control Utilities. Filehandles and Input/Output. Windows Modules. Other Modules.

C: Installing Perl on a Unix System.


Do You Need to Install Perl? Obtaining Perl. Extracting and Compiling Perl. For More Information.

D: Installing Perl For Windows.


Downloading Perl for Windows. Installing Perl for Windows. Running Perl for Windows. Downloading the Perl Source Code. Getting More Information.

E: Installing Perl For The Macintosh.


Downloading MacPerl. Installing MacPerl. Starting the MacPerl Application. Running MacPerl from Inside MPW. Getting More Information.

Index.

Erscheint lt. Verlag 9.4.1999
Reihe/Serie Sams Teach Yourself
Verlagsort Indianapolis
Sprache englisch
Maße 188 x 232 mm
Gewicht 1189 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Perl
Informatik Software Entwicklung Objektorientierung
Schlagworte Perl 5
ISBN-10 0-672-31305-7 / 0672313057
ISBN-13 978-0-672-31305-9 / 9780672313059
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Keeping the Easy, Hard, and Impossible Within Reach

von Brian D. Foy

Buch | Softcover (2018)
O'Reilly Media (Verlag)
CHF 75,40