Synopses & Reviews
This new book by the world's leading programming language textbook authors carefully explains how to use Perl as a general-purpose programming language and how to program multi-tier, client/server, database-intensive, Internet-and-Web-based applications.
Dr. Harvey M. Deitel and Paul J. Deitel are the principals of Deitel & Associates, Inc., the internationally recognized corporate training and content-creation organization specializing in C++, Java™, C#, C, Visual Basic®, XML™, Python, Perl, Internet, World Wide Web and object technologies. The Deitels are also the authors of the world's #1 Java and C++ textbooks, Java How to Program, 3/e and C++ How to Program, 3/e.
In Perl How to Program, the Deitels and their colleagues, Tem R. Nieto and David C. McPhie, discuss topics you need to build complete, Web-based applications including:
- CGI/HTML forms/XML/CGI.pm
- Control Structures/Arrays/Hashes
- Regular Expressions/Strings
- Typeglobs/File Globbing
- Networking/Sockts/Internet Protocols
- Cookies/Session Tracking
- Filehandles/Data Structures
- Process Control/Forking/Piping
- Web Automation/OLE Automation
- Server-Side Includes/Ties/Closures
Perl How to Program includes extensive pedagogic features:
- Hundreds of LIVE-CODE™ programs with screen captures that show exact outputs
- Extensive World Wide Web and Internet resources to encourage further research
- Hundreds of tips, recommended practices and cautions—all marked with icons
This comprehensive guide to programming with Perl emphasizes the use of the Common Gateway Interface (CGI) with Perl to create powerful dynamic Web content for e-commerce applications. The book begins with a clear and careful introduction to the concepts of structured programming at a level suitable for beginners to programming, and proceeds through advanced topics such as references and complex data structures. Topics covered include regular expressions; string manipulation; object-oriented programming; the Perl database interface (DBI); graphics; security; XML; and Web accessibility. Introduces the Python programming language. For readers wanting to learn about Perl/CGI programming and Internet/Web programming.
About the Author
Dr. Harvey M. Deitel,
CEO of Deitel & Associates, Inc., has 40 years in the computing field including extensive industry and academic experience. He is one of the world's leading computer science instructors and seminar presenters. Dr. Deitel earned B.S. and M.S. degrees from the Massachusetts Institute of Technology and a Ph.D. from Boston University. He has 20 years of college teaching experience including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc. with his son Paul J. Deitel. He is author or co-author of several dozen books and multimedia packages and is currently writing many more. With translations published in Japanese, Russian, Spanish, Elementary Chinese, Advanced Chinese, Korean, French, Polish and Portuguese, Dr. Deitel's texts have earned international recognition. Dr. Deitel has delivered professional seminars internationally to major corporations, government organizations and various branches of the military.
Paul J. Deitel, Executive Vice President of Deitel & Associates, Inc., is a graduate of the Massachusetts Institute of Technology's Sloan School of Management where he studied Information Technology. Through Deitel & Associates, Inc. he has delivered Internet and World Wide Web courses and programming language classes for industry clients including Compaq, Sun Microsystems, White Sands Missile Range, Rogue Wave Software, Computervision, Straws, Fidelity, Cambridge Technology Partners, Lucent TecItnologies, Adra Systems, Entergy, CableData Systems, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, IBM and many other organizations. He has lectured on for the Boston Chapter of the Association for Computing Machinery, and has taught satellite-based courses through a cooperative venture of Deitel & Associates, Inc., Prentice Hall and the Technology Education Network. He and his father, Dr. Harvey M. Deitel, are the world's best-selling Computer Science textbook authors.
Tem R. Nieto, Director of Product Development with Deitel & Associates, Inc., is a graduate of the Massachusetts Institute of Technology where he studied engineering and computing. Through Deitel & Associates, Inc. he has delivered courses for industry clients including Sun Microsystems, Compaq, EMC, Stratus, Fidelity, Art Technology, Progress Software, Toys "R" Us, Operational Support Facility of the National Oceanographic and Atmospheric Administration, Jet Propulsion Laboratory, Nynex, Motorola, Federal Reserve Bank of Chicago, Banyan, Schlumberger, University of Notre Dame, NASA, various military installations and many others. He has co-authored several books and multimedia packages with the Deitels and has contributed to virtually every Deitel & Associates, Inc. publication.
David Craig McPhie recently graduated from Harvard College magna cum laude with a B.A. in Physics, having completed extensive computer science course work in C, C++, Java and Lisp. His course work included a final project using CGI to implement an online word game ("Elggob") that won accolades from his instructors and peers. Prior to collaborating on Perl How to Program, David programmed a Monte Carlo electron path modeling application for AlliedSignal, Electron Vision Group in San Diego. His other computing experience includes software test script writing and implementation with SilkTest at Cakewalk Software, and debugging courtroom simulation software code at the Education Technology Department of Harvard Law School. David has now changed venues and is studying law at Harvard Law School. He maintains an interest in technology law, and continues to use Per in Web programming for student organizations. He and his wife Erin and daughter Emily live in Cambridge, MA.
Table of Contents
(NOTE: Each chapter begins with Objectives, an Outline, and an Introduction and ends with a Summary, Terminology, a summary of all the programming tips in the chapter, Self-Review Exercises, Self-Review Exercise Answers, and Exercises.
1. Introduction to Computers, the Internet and the World Wide Web.
2. Introduction to Programming in Perl.
3. Control Structures: Part I.
4. Arrays and Hashes.
5. Control Structures: Part II.
6. Subroutines and Functions.
7. Introduction to the Common Gateway Interface (CGI).
8. Regular Expressions.
9. String Manipulation.
10. File Processing.
11. File and Directory Manipulation.
12. Formatted Output.
15. Perl Database Interface (DBI).
16. Session Tracking and Cookies.
17. Web Automation and Networking.
18. Process Control.
20. Complex Data Structures.
21. Graphics and Perl/Tk.
22. Perl and XML: A Web-Based Message Forums Application.
23. Accessibility: Developing for the Disabled.
24. Bonus Chapter: Introduction to HyperText Markup Language 4: Part I.
25. Bonus Chapter: Introduction to HyperText Markup Language 4: Part II.
26. Bonus Chapter: Introduction to Python Programming.
Appendix A: HTML Special Characters.
Appendix B: HTML Colors.
Appendix C: ASCII Character Set.
Appendix D: Operator Precedence Charts.
Appendix E: Number Systems.
Appendix F: Installing Apache Web Server.
Appendix G: Installing Perl.
Appendix H: Installing Python.
Appendix I: Career Resources.
Appendix J: Registering an ODBC Data Source.