Skip to content

Advanced Perl Programming

Best in textbook rentals since 2012!

ISBN-10: 1565922204

ISBN-13: 9781565922204

Edition: 1997

Authors: Sriram Srinivasan, Andy Oram

List price: $34.95
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

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…    
Customers also bought

Book details

List price: $34.95
Copyright year: 1997
Publisher: O'Reilly Media, Incorporated
Publication date: 8/19/1997
Binding: Paperback
Pages: 432
Size: 7.00" wide x 9.25" long x 1.00" tall
Weight: 1.386
Language: English

Sriram Srinivasan ("Ram") is an expert on distributed object technologies, and develops Java middleware at WebLogic, San Francisco, for fun and profit. He actively pursues his interests in programming languages, databases, transaction processing, networking, and meaningful user interfaces. Sriram has been an enthusiastic user and teacher of Perl for the last six years, and currently teaches a course on advanced Perl programming for the extension program at the University of California at Berkeley. In his spare time, he dabbles in Indian classical music, charcoal drawing, cooking, and biking, and dreams of the day when he can say, "In his spare time, he dabbles in programming languages, ...".

Preface
Data References and Anonymous Storage
Referring to Existing Variables
Using References
Nested Data Structures
Querying a Reference
Symbolic References
A View of the Internals
References in Other Languages
Resources
Implementing Complex Data Structures
User-Defined Structures
Example: Matrices
Professors, Students, Courses
Pass the Envelope
Pretty-Printing
Resources
Typeglobs and Symbol Tables
Perl Variables, Symbol Table, and Scoping
TypeglobsTypeglobs and References
Filehandles, Directory Handles, and Formats
Subroutine References and Closures
Subroutine References
Using Subroutine References
ClosuresUsing Closures
Comparisons to Other Languages
Resources
EvalThe String Form: Expression Evaluation
The Block Form: Exception Handling
Watch Your QuotesUsing Eval for Expression Evaluation
Using Eval for Efficiency
Using Eval for Time-Outs
Eval in Other Languages
Resources
ModulesBasic Package
Packages and Files
Package Initialization and Destruction
PrivacyImporting Symbols
Nesting Packages
AutoloadingAccessing the Symbol Table
Language Comparisons
Object-Oriented ProgrammingOO: An Introduction
Objects in Perl
Universal
Recap of Conventions
Comparison with Other OO Languages
Resources
Object Orientation: The Next Few Steps
Efficient Attribute Storage
DelegationOn Inheritance
Resources
TieTying ScalarsTying Arrays
Tying Hashes
Tying Filehandles
Example: Monitoring Variables
Comparisons with Other Languages
PersistencePersistence Issues
Streamed Data
Record-Oriented Approach
Relational Databases
Resources
Implementing Object Persistence
Adaptor: An Introduction
Design Notes
Implementation
Resources
Networking with Sockets
Networking PrimerSocket API and IO: Socket
Handling Multiple Clients
Real-World Servers
IO Objects and Filehandles
Prebuilt Client Modules
Resources
Networking: Implementing RPCMsg: Messaging Toolkit
Remote Procedure Calls (RPC)Resources
User Interfaces with Tk
Introduction to GUIs, Tk, and Perl/Tk
Starting with Perl/TkWidget Tour
Geometry Management
TimersEvent Bindings
Event Loops
Resources
GUI Example: Tetris
Introduction to Tetris
DesignImplementation
GUI Example: Man Page Viewerman and perlman
Implementation
Resources
Template-Driven Code GenerationOn Code Generation
Jeeves Example
Jeeves Overview
Jeeves Implementation
Sample Specification Parser
Resources
Extending Perl: A First Course
Writing an Extension: Overview
Example: Fractals with PerlSWIG Features
XS Features
Degrees of FreedomA Detour into Fractals
Resources
Embedding Perl: The Easy Way
Why Embed?Embedding Overview
Examples
Adding Extensions
Resources
Perl Internals
Reading the Source
ArchitecturePerl Value Types
Stacks and Messaging Protocol
Meaty Extensions
Easy Embedding APIA Peek into the Future Resources
Tk Widget Reference
Syntax Summary
Index