Perl by Example

Perl by Example

3.65 (32 ratings by Goodreads)
By (author) 

List price: US$49.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

Perl by Example is the most well organized, "to-the-point" Perl tutorial and reference you can find. In this extensively-revised third edition, renowned Perl trainer Ellie Quigley adds extensive new coverage of Perl 5.6.0, CGI Web development, DBI, and much more -- including all-new exercises and examples for UNIX, Linux, Windows, and Macintosh environments! Quigley takes you from your first program to highly sophisticated Perl scripting. She shows how Perl can be a convenient substitute for utilities like grep, awk, sed, tr, shells and C, and how it can serve the specific needs of system administrators. She offers practical insight into every aspect of Perl development, from names and operators to regular expressions, file handles, libraries, references, reporting, object-oriented Perl -- even scripting for complex networking and interprocess communications tasks. This new edition adds extensive new coverage of Web CGI programming, including Lincoln Stein's CGI.pm module; database integration with Perl DBI; and the latest version of Perl. The accompanying CD-ROM includes all sample programs from the book.show more

Product details

  • Mixed media product | 880 pages
  • 172.72 x 231.14 x 45.72mm | 1,383.45g
  • Pearson Education (US)
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • Revised
  • 3rd Revised edition
  • Illustrations
  • 0130282510
  • 9780130282514

About Ellie Quigley

Ellie Quigley is the creator of the world's number one interactive Perl course, Perl Multimedia Cyber Classroom, and author of Linux Shells by Example and Unix Shells by Example, Second Edition. Her courses at Sun Microsystems and the University of California at Santa Cruz Extension Program are legendary throughout the Silicon Valley.show more

Table of contents

Preface. Acknowledgments. 1. The Practical Extraction and Report Language. What Is Perl? Who Uses Perl? Which Perl? Where to Get Perl. What Is CPAN? Perl Documentation. 2. Perl Scripts. Perl at the Command Line. Script Setup. The Script. Exercise 1: Getting with It Syntactically. 3. Getting a Handle on Printing. The Filehandle. Words. The print Function. The printf Function. Exercise 2: A String of Perls. 4. What's in a Name. About Perl Variables. Scalars, Arrays, and Hashes. Reading from STDIN. Array Functions. Hash (Associative Array) Functions. More Hashes. Exercise 3: The Funny Characters. 5. Where's the Operator? About Perl Operators. Mixing Data Types. Precedence and Associativity. Exercise 4: Operator, Operator. 6. If Only, Unconditionally, Forever. Control Structures, Blocks, and Compound Statements. Decision Making-Conditional Constructs. Loops. Exercise 5: What Are Your Conditions? 7. Regular Expressions-Pattern Matching. What Is a Regular Expression? Expression Modifiers and Simple Statements. Regular Expression Operators. Exercise 6: Is it sed, awk, or grep? Give Perl a Whirl! 8. Getting Control-Regular Expression Metacharacters. Regular Expression Metacharacters. Unicode. Exercise 7: Is it sed, awk, or grep? Give Perl Another Whirl! 9. Getting a Handle on Files. The User-Defined Filehandle. Passing Arguments. File Testing. Exercise 8: Getting a Handle on Things. 10. How Do Subroutines Function? Subroutines/Functions. Exercise 9: I Can't Seem to Function Without Subroutines. 11. Modularize It, Package It, and Send It to the Library! Packages and Modules. The Standard Perl Library. Exercise 10: I Hid All My Perls in a Package. Exercise 11: Pack It up and Take It to the Library. 12. Does This Job Require a Reference? What Is a Reference? Exercise 12: It's Not Polite to Point! 13. Bless Those Things! (Object-Oriented Perl) The OOP Paradigm. Classes, Objects, and Methods. Inheritance. Public User Interface-Documenting Classes. Using Objects from the Perl Library. Exercise 13: What's the Object of This Lesson? Exercise 14: Perls in a Pod. 14. Those Magic Ties, DBM Stuff, and the Database Hooks. Tying Variables to a Class. DBM Files. 15. Introduction to Perl Database Programming. Chapter Overview. Perl Database Programming. Perl Programming with an RDBMS. Accessing MSS Using ADO and DBI. Accessing Oracle Using ADO and DBI. Exercises: Non-Programming. Exercise 15: Introduction to Using MSS. Exercise 16: Executing persons.sql in MSS. Exercise 17: Introduction to Using Oracle. Exercise 18: Executing persons.sql in Oracle. References. 16. Interfacing with the System. System Calls. Processes. Other Ways to Interface with the Operating System. Error Handling. Signals. 17. Report Writing with Pictures. The Template. 18. Send It Over the Net and Sock It To 'Em! Networking and Perl. Client/Server Model. Network Protocols (TCP/IP). Network Addressing. Sockets. Client/Server Programs. The Socket.pm Module. 19. CGI and Perl: The Hyper Dynamic Duo. What Is CGI? Internet Communication Between Client and Server. Creating a Web Page with HTML. How HTML and CGI Work Together. Log Files. Where to Find CGI Applications. Getting Information Into and Out of the CGI Script. Processing Forms with CGI. The CGI.pm Module. Exercise 19: Surfing for Perls. Exercise 20: Let's Use CGI.pm. Appendix A: Perl Built-Ins, Pragmas, Modules, and the Debugger. Perl Functions. Special Variables. Perl Pragmas. Perl Modules. Command Line Switches. Debugger. Appendix B: Some Helpful Scripts. taintperl Script by Mark Houser. maxpstat by John J. Nouveaux. randomize by John J. Nouveaux. Appendix C: An Object-Oriented Perl/CGI Program. The analyze.cgi Program and Associated Files. Appendix D: HTML Documents: A Basic Introduction. Intro to the Intro. What Is HTML? HTML Tags. The Minimal HTML Document. Character Formatting. Linking. Adding Comments. Case Sensitivity. Graphics and Images. Troubleshooting. Metatags, Cascading Style Sheets, and Java. Looking Behind the Scenes (or, What Did We Do Before the Right-Click?). What About Frames? Some Final Thoughts. Index.show more

Rating details

32 ratings
3.65 out of 5 stars
5 19% (6)
4 44% (14)
3 25% (8)
2 9% (3)
1 3% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X