My Account
View Cart
Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
Advanced Perl Programming
By
Sriram Srinivasan
August 1997
Pages: 430
|
Table of Contents
|
Index
|
Sample Chapter
|
Colophon
Table of Contents
Chapter 1
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
Chapter 2
Implementing Complex Data Structures
User-Defined Structures
Example: Matrices
Professors, Students, Courses
Pass the Envelope
Pretty-Printing
Resources
Chapter 3
Typeglobs and Symbol Tables
Perl Variables, Symbol Table, and Scoping
Typeglobs
Typeglobs and References
Filehandles, Directory Handles, and Formats
Chapter 4
Subroutine References and Closures
Subroutine References
Using Subroutine References
Closures
Using Closures
Comparisons to Other Languages
Resources
Chapter 5
Eval
The String Form: Expression Evaluation
The Block Form: Exception Handling
Watch Your Quotes
Using Eval for Expression Evaluation
Using Eval for Efficiency
Using Eval for Time-Outs
Eval in Other Languages
Resources
Chapter 6
Modules
Basic Package
Packages and Files
Package Initialization and Destruction
Privacy
Importing Symbols
Nesting Packages
Autoloading
Accessing the Symbol Table
Language Comparisons
Chapter 7
Object-Oriented Programming
OO: An Introduction
Objects in Perl
UNIVERSAL
Recap of Conventions
Comparison with Other OO Languages
Resources
Chapter 8
Object Orientation: The Next Few Steps
Efficient Attribute Storage
Delegation
On Inheritance
Resources
Chapter 9
Tie
Tying Scalars
Tying Arrays
Tying Hashes
Tying Filehandles
Example: Monitoring Variables
Comparisons with Other Languages
Chapter 10
Persistence
Persistence Issues
Streamed Data
Record-Oriented Approach
Relational Databases
Resources
Chapter 11
Implementing Object Persistence
Adaptor: An Introduction
Design Notes
Implementation
Resources
Chapter 12
Networking with Sockets
Networking Primer
Socket API and IO::Socket
Handling Multiple Clients
Real-World Servers
IO Objects and Filehandles
Prebuilt Client Modules
Resources
Chapter 13
Networking: Implementing RPC
Msg: Messaging Toolkit
Remote Procedure Calls (RPC)
Resources
Chapter 14
User Interfaces with Tk
Introduction to GUIs, Tk, and Perl/Tk
Starting with Perl/Tk
Widget Tour
Geometry Management
Timers
Event Bindings
Event Loops
Resources
Chapter 15
GUI Example: Tetris
Introduction to Tetris
Design
Implementation
Chapter 16
GUI Example: Man Page Viewer
man and perlman
Implementation
Resources
Chapter 17
Template-DrivenCode Generation
On Code Generation
Jeeves Example
Jeeves Overview
Jeeves Implementation
Sample Specification Parser
Resources
Chapter 18
Extending Perl: A First Course
Writing an Extension: Overview
Example: Fractals with Perl
SWIG Features
XS Features
Degrees of Freedom
A Detour into Fractals
Resources
Chapter 19
Embedding Perl:The Easy Way
Why Embed?
Embedding Overview
Examples
Adding Extensions
Resources
Chapter 20
Perl Internals
Reading the Source
Architecture
Perl Value Types
Stacks and Messaging Protocol
Meaty Extensions
Easy Embedding API
A Peek into the Future
Resources
Appendix A
Tk Widget Reference
Button
Canvas
Entry
Listbox
Menus
Scrollbars and Scrolling
Scale
HList — Hierarchical List
Appendix B
Syntax Summary
References
Nested Data Structures
Closures
Modules
Objects
Dynamic Behavior
Exception Handling
Meta-Information
Typeglobs
Filehandles, Formats
Colophon
Return to
Advanced Perl Programming