Book description
So you've learned Perl, but you're getting frustrated. Perhaps you've taken on a larger project than the ones you're used to. Or you want to add a user interface or a networking component. Or you need to do more complicated error trapping. Whether your knowledge of Perl is casual or deep, this book will make you a more accomplished programmer. Here you can learn the complex techniques for production-ready Perl programs. This book explains methods for manipulating data and objects that may have looked like magic before. Furthermore, it sets Perl in the context of a larger environment, giving you the background you need for dealing with networks, databases, and GUIs. The discussion of internals helps you program more efficiently and embed Perl within C or C within Perl. Major topics covered include:
Practical use of packages and classes (object-oriented programming)
Complex data structures
Persistence (e.g., using a database)
Networking
Graphical interfaces, using the Tk toolkit
Interaction with C language functions
Embedding and extending the Perl interpreter
In addition, the book patiently explains all sorts of language details you've always wanted to know more about, such as the use of references, trapping errors through the eval operator, non-blocking I/O, when closures are helpful, and using ties to trigger actions when data is accessed. You will emerge from this book a better hacker, and a proud master of Perl.
Table of contents
-
Advanced Perl Programming
- Preface
- 1. Data References and Anonymous Storage
- 2. Implementing Complex Data Structures
- 3. Typeglobs and Symbol Tables
- 4. Subroutine References and Closures
- 5. Eval
- 6. Modules
- 7. Object-Oriented Programming
- 8. Object Orientation: The Next Few Steps
- 9. Tie
- 10. Persistence
- 11. Implementing Object Persistence
- 12. Networking with Sockets
- 13. Networking: Implementing RPC
- 14. User Interfaces with Tk
- 15. GUI Example: Tetris
- 16. GUI Example: Man Page Viewer
- 17. Template-DrivenCode Generation
- 18. Extending Perl: A First Course
- 19. Embedding Perl:The Easy Way
- 20. Perl Internals
- A. Tk Widget Reference
- B. Syntax Summary
- Index
- Colophon
Product information
- Title: Advanced Perl Programming
- Author(s):
- Release date: August 1997
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565922204
You might also like
book
Advanced Perl Programming, 2nd Edition
With a worldwide community of users and more than a million dedicated programmers, Perl has proven …
book
Advanced Perl Programming: From Advanced to Expert
William "Bo" Rothwell's Advanced Perl Programming continues where his previous book left off, more or less, …
book
Perl & LWP
Perl soared to popularity as a language for creating and managing web content, but with LWP …
book
Minimal Perl
Perl is a complex language that can be difficult to master. Perl advocates boast that "There's …