–Chris Gomez, Web services manager, Zunch Worldwide, Inc.
“I have been reading your UNIX ® Shells by Example book, and I must say, it is brilliant. Most other books do not cover all the shells, and when you have to constantly work in an organization that uses tcsh, bash, and korn, it can become very difficult. However, your book has been indispensable to me in learning the various shells and the differences between them…so I thought I’d email you, just to let you know what a great job you have done!”
–Farogh-Ahmed Usmani, B.Sc. (Honors), M.Sc., DIC, project consultant (Billing Solutions), Comverse
“I have been learning Perl for about two months now; I have a little shell scripting experience but that is it. I first started with Learning Perl by O’Reilly. Good book but lacking on the examples. I then went to Programming Perl by Larry Wall, a great book for intermediate to advanced, didn’t help me much beginning Perl. I then picked up Perl by Example, Third Edition–this book is a superb, well-written programming book. I have read many computer books and this definitely ranks in the top two, in my opinion. The examples are excellent. The author shows you the code, the output of each line, and then explains each line in every example.”
–Dan Patterson, software engineer, GuideWorks, LLC
“Ellie Quigley has written an outstanding introduction to Perl, which I used to learn the language from scratch. All one has to do is work through her examples, putz around with them, and before long, you’re relatively proficient at using the language. Even though I’ve graduated to using Programming Perl by Wall et al., I still find Quigley’s book a most useful reference.”
–Casey Machula, support systems analyst, Northern Arizona University, College of Health and Human Services
“When I look at my bookshelf, I see eleven books on Perl programming. Perl by Example, Third Edition, isn’t on the shelf; it sits on my desk, where I use it almost daily. When I bought my copy I had not programmed in several years and my programming was mostly in COBOL so I was a rank beginner at Perl. I had at that time purchased several popular books on Perl but nothing that really put it together for me. I am still no pro, but my book has many dog-eared pages and each one is a lesson I have learned and will certainly remember. “I still think it is the best Perl book on the market for anyone from a beginner to a seasoned programmer using Perl almost daily.”
–Bill Maples, network design tools and automations analyst, Fidelity National Information Services
“We are rewriting our intro to OS scripting course and selected your text for the course. It’s an exceptional book. The last time we considered it was a few years ago (second edition). The debugging and system administrator chapters at the end nailed it for us.”
–Jim Leone, Ph.D., professor and chair, Information Technology, Rochester Institute of Technology
“Quigley’s book acknowledges a major usage of PHP. To write some kind of front end user interface program that hooks to a back end MySQL database. Both are free and open source, and the combination has proved popular. Especially where the front end involves making an HTML web page with embedded PHP commands. “Not every example involves both PHP and MySQL. Though all examples have PHP. Many demonstrate how to use PHP inside an HTML file. Like writing user-defined functions, or nesting functions. Or making or using function libraries. The functions are a key idea in PHP, that take you beyond the elementary syntax. Functions also let you gainfully use code by other PHP programmers. Important if you are part of a coding group that has to divide up the programming effort in some manner.”
–Dr. Wes Boudville, CTO, Metaswarm Inc.
The World’s Easiest Perl Tutorial–Fully Updated!
Perl by Example, Fourth Edition, is the easiest, most hands-on way to learn Perl. Legendary Silicon Valley programming instructor Ellie Quigley has thoroughly updated her classic to deliver the skills and information today’s Perl users need most–including all-new coverage of MySQL database programming and a Perl QuickStart designed to get experienced users up and running fast.
Quigley illuminates every technique with focused, classroom-tested code examples, detailed line-by-line explanations, and real program output. This exceptionally clear, easy-to-understand book takes you from your first Perl script to database-driven applications. It’s the only Perl book you’ll ever need!
New in this edition:
Perl programming QuickStart: makes first-time Perl programmers productive in just twenty pages
All-new chapter on using the Perl DBI with the MySQL database–plus an easy SQL primer to quickly get you started programming any database
New introductions to Perl in biology (bioinformatics) and to mod_perl, a Perl interpreter embedded in the Apache server, which allows you to create fast, dynamic content; manage the Apache server; authenticate users; and much more
Includes many new and completely rewritten code examples
Contains fully revised CGI coverage for building dynamic Web sites with Perl
Covers modern Perl 5.8 concepts and principles–and provides a great foundation for Perl 6
More than 30,000 sysadmins, power users, and developers have used previous editions of Perl by Example
to become expert Perl programmers. With Perl by Example, Fourth Edition, you can, too–even if you’re
completely new to Perl. After you’ve become an expert, you’ll turn to this book constantly as the best
source for reliable answers, solutions, and code.
About the CD-ROM:
The CD-ROM includes all code and files for this book’s hundreds of example scripts.
"synopsis" may belong to another edition of this title.
This tutorial/reference is the ideal guide for UNIX professionals who want to (or must) learn Perl as quickly as possible. Perl (Practical Extraction and Report Language) -- a public domain interpreted language used for manipulating text, files, and processes -- combines the best features of many of the UNIX utilities, including grep, awk, sed, tr, shells, and the C programming language. Due to its unique features, Perl has gained popularity recently, and is quickly becoming the preferred programming language of systems administrators.From the Inside Flap:
About the Author
Ellie Quigley is president of Learning Enterprises, LE, a small training/consulting company specializing in teaching UNIX related subjects and writing customized classes for on-site training. The original version of Perl by Example was designed as a Perl Programming class for the University of California, Extension, Santa Cruz, complete with training guide and exercises. Due to the success of the class, this book evolved. She has also authored UNIX Shells by Example, published by Prentice Hall last year. Any comments or questions can be forwarded to Ellie Quigley at Learning Enterprises by e-mail: shellieq@netcom.
I would like to send a special appreciation to Mark Houser, a system administration instructor for Remedy Corporation. Mark, with an MS in computer science, enjoys "extending his systems beyond the ordinary" with tools like Perl. He has always been there to answer questions, and he donated his taintperl database application in Appendix B. Mark's email address is mark.houser@EBay.Sun.COM.
I also owe a great deal to Deac Lancaster, a true scholar, co-worker, and good friend. While working for Sun Education, Deac spent many an evening after a long teaching day to guide me patiently through the workings of sockets, message queues, and semaphores. He loaned me his demo C programs, and together we re-wrote them in Perl for this book. Deac is now teaching at Remedy Corporation. Thanks, Deac! John Nouveaux, from Nouveaux Consulting, Santa Rosa, California, has also contributed a number of his Perl programs for the Appendix B in this book. John, an expert network programmer and system administrator, is a consultant and a dynamic teacher, specializing in connectivity issues using tcp/ip and the Internet.
Thanks also to Steve Hanson for his system administration work and to George Williams for compiling the CD-ROM and setting up the Web server.
Richard Evans, from Sun Microsystems, volunteered his time to test the examples in this book and offered helpful suggestions on how to improve them. Thank you, Richard.
Of course, appreciation to my editors, Mark Taub and Patti Guerrieri, for teaching me about the book business and patiently awaiting overdue chapters and correction pages. And to Roberta Harvey, from RAH Consulting, for her technical review and valuable criticism.
Thanks to Perl pioneers Larry Wall and Randal L. Schwartz, authors of the following books: Learning Perl by Randal L. Schwartz and Perl Programming by Larry Wall and Randal L. Schwartz.
And last, but not least, a huge thanks to all of my students out there who helped me learn Perl and kept it fun.
A picture is worth a thousand words, and so is a good example. Perl by Example is organized to teach you Perl from scratch with examples of complete succinct programs. Each line of a script sample is numbered, and important lines are highlighted. The output of the program is then displayed with numbers corresponding to the script numbers. Following the output is a separate explanation for each of the numbered lines. The examples are small and to the point for the topic at hand. Since the backbone of this book was used as a student guide to Perl, the topics are modularized. Each module builds on the previous one with a minimum of forward referencing and a logical progression from one topic to the next.
Perl by Example is not just a beginner's guide, but a complete guide to Perl. It covers many aspects of what Perl can do, from regular expression handling, to formatting reports, to interprocess communication. It will teach you about Perl and, in the process, a lot about UNIX. Although some UNIX knowledge will greatly accelerate your learning path, it is not assumed that you are a guru. Anyone reading, writing, or just maintaining Perl programs can greatly profit from this text. Topics such as networking, system calls, IPC, and CGI are designed to save the time it takes to figure out how the functions work, what libraries are needed, and the correct syntax, etc. Now, in this second edition, Perl5 objects and references have been added, and since Perl is the standard for writing CGI scripts for the Internet, there is a chapter to get you started writing your own dynamic Web pages.
Perl has a rich variety of functions for handling strings, arrays, the system interface, networking, and more. In order to understand how these functions work, background information concerning the how's, why's, and what for's is provided before demonstrating sample programs that function. This eliminates constantly wading through manual pages and other UNIX books to understand what is going on, what the arguments mean, and what the function actually does.
The Appendices contain a complete list of functions and definitions, command line switches, debugging options, special variables, Perl translators and sample scripts, including a fully functional, annotated Perl program using taintperl and interfacing with a database application.
I have been teaching now for the past 30 years and am committed to understanding how people learn. Having taught Perl now for over a year, I find that many new Perlers get frustrated when trying to teach themselves how to program in Perl. I, too, experienced frustration when first tackling Perl. So I wrote a book to help myself learn and to help my students, and now to help you. In my book you will not only learn Perl, you will also save yourself a great deal of time.
"About this title" may belong to another edition of this title.
Book Description Prentice Hall. Book Condition: New. Brand New. Bookseller Inventory # 0132381826
Book Description Prentice Hall, 2007. Paperback. Book Condition: New. book. Bookseller Inventory # 0132381826
Book Description Prentice Hall, 2007. Book Condition: New. Brand New, Unread Copy in Perfect Condition. A+ Customer Service! Summary: Preface xxvii Chapter 1: The Practical Extraction and Report Language 1 1.1 What Is Perl? 1 1.2 What Is an Interpreted Language? 2 1.3 Who Uses Perl? 3 1.4 Where to Get Perl 5 1.5 What Is CPAN? 9 1.6 Perl Documentation 10 1.7 What You Should Know 12 1.8 What s Next? 12 Chapter 2: Perl Quick Start 13 2.1 Quick Start, Quick Reference 13 2.2 Chapter Summary 29 2.3 What s Next? 29 Chapter 3: Perl Scripts 31 3.1 Script Setup 31 3.2 The Script 32 3.3 Perl at the Command Line 39 3.4 What You Should Know 43 3.5 What s Next? 43 Chapter 4: Getting a Handle on Printing 45 4.1 The Filehandle 45 4.2 Words 45 4.3 The print Function 46 4.4 The printf Function 59 4.5 What You Should Know 66 4.6 What s Next? 66 Chapter 5: What s in a Name 69 5.1 About Perl Variables 69 5.2 Scalars, Arrays, and Hashes 77 5.3 Reading from STDIN 94 5.4 Array Functions 100 5.5 Hash (Associative Array) Functions 118 5.6 More Hashes 128 5.7 What You Should Know 132 5.8 What s Next? 133 Chapter 6: Where s the Operator? 137 6.1 About Perl Operators 137 6.2 Mixing Data Types 138 6.3 Precedence and Associativity 139 6.4 What You Should Know 168 6.5 What s Next? 168 Chapter 7: If Only, Unconditionally, Forever 171 7.1 Control Structures, Blocks, and Compound Statements 171 7.2 Repetition with Loops 177 7.3 What You Should Know 200 7.4 What s Next? 200 Chapter 8: Regular ExpressionsPattern Matching 203 8.1 What Is a Regular Expression? 203 8.2 Expression Modifiers and Simple Statements 204 8.3 Regular Expression Operators 210 8.4 What You Should Know 232 8.5 What s Next? 232 Chapter 9: Getting ControlRegular Expression Metacharacters 235 9.1 Regular Expression Metacharacters 235 9.2 Unicode 281 9.3 What You Should Know 283 9.4 What s Next? 283 Chapter 10: Getting a Handle on Files 285 10.1 The User-Defined Filehandle 285 10.2 Passing Arguments 310 10.3 File Testing 319 10.4 What You Should Know 321 10.5 What s Next? 322 Chapter 11: How Do Subroutines Function? 325 11.1 Subroutines/Functions 325 11.2 Passing Arguments 330 11.3 Call-by-Reference 344 11.4 What You Should Know 358 11.5 What s Next? 359 Chapter 12: Modularize It, Package It, and Send It to the Library! 363 12.1 Packages and Modules 363 12.2 The Standard Perl Library 370 12.3 Modules from CPAN 390 12.4 What You Should Know 398 12.5 What s Next? 398 Chapter 13: Does This Job Require a Reference? 401 13.1 What Is a Reference? What Is a Pointer? 401 13.2 What You Should Know 420 13.3 What s Next? 420 Chapter 14: Bless Those Things! (Object-Oriented Perl) 423 14.1 The OOP Paradigm 423 14.2 Classes, Objects, and Methods 425 14.3 Anonymous Subroutines, Closures, and Privacy 453 14.4 Inheritance 460 14.5 Public User InterfaceDocumenting Classes 474 14.6 Using Objects from the Perl Library 479 14.7 What You Should Know 484 14.8 What s Next? 485 Chapter 15: Those Magic Ties and DBM Stuff 493 15.1 Tying Variables to a Class 493 15.2 DBM Files 505 15.3 What You Should Know 512 15.4 What s Next? 512 Chapter 16: CGI and Perl: The Hyper Dynamic Duo 513 16.1 Static and Dynamic Web Pages 513 16.2 How It all Works 516 16.3 Creating a Web Page with HTML 522 16.4 How HTML and CGI Work Together 526 16.5 Getting Information Into and Out of the CGI Script 531 16.6 CGI and Forms 535 16.7 The. Bookseller Inventory # ABE_book_new_0132381826
Book Description Prentice Hall, 2007. Book Condition: New. Brand new! Please provide a physical shipping address. Bookseller Inventory # 9780132381826
Book Description Prentice Hall, 2007. Paperback. Book Condition: New. Bookseller Inventory # P110132381826
Book Description Prentice Hall Ptr, 2007. Paperback. Book Condition: Brand New. 4th paperback/cd-rom edition. 971 pages. 9.25x7.00x2.00 inches. In Stock. Bookseller Inventory # 0132381826
Book Description Book Condition: Brand New. Book Condition: Brand New. Bookseller Inventory # 97801323818261.0
Book Description Pearson P T R, 2007. CDR. Book Condition: New. 4 PAP/CDR. 17.78 x 23.5 cm. A guide to Perl and its system and Web applications, covering such topics as scripts, printing, names, operators, Regular Expressions, files, subroutines, packages and modules, object-oriented programming, and MySQL. Our orders are sent from our warehouse locally or directly from our international distributors to allow us to offer you the best possible price and delivery time. CDR. Bookseller Inventory # MM-21293755