Web, Graphics & Perl/Tk Programming: Best of the Perl Journal

Front Cover
"O'Reilly Media, Inc.", Mar 10, 2003 - Computers - 448 pages

In its first five years of existence, The Perl Journal (TPJ) became the voice of the Perl community. Every serious Perl programmer subscribed to it, and every notable Perl guru jumped at the opportunity to write for it. TPJ explained critical Perl topics and demonstrated Perl's utility for fields as diverse as astronomy, biology, economics, AI, and games. Back issues were hoarded, or swapped like trading cards. No longer in print format, The Perl Journal remains a proud and timeless achievement of Perl during one of its most exciting periods of development.

Web, Graphics & Perl/Tk is the second volume of The Best of the Perl Journal, compiled and re-edited by the original editor and publisher of The Perl Journal, Jon Orwant. In this series, we've taken the very best (and still relevant) articles published in TPJ over its five years of publication and immortalized them into three volumes.

The forty articles included in this volume are simply some of the best Perl articles ever written on the subjects of graphics, the Web, and Perl/Tk, by some of the best Perl authors and coders.

Much of Perl's success is due to its capabilities for developing web sites; the Web section covers popular topics such as CGI programs, mod_perl, spidering, HTML parsing, security, and content management. The Graphics section is a grab bag of techniques, ranging from simple graph generation to ray tracing and real-time video digitizing. The Perl/Tk section shows you how to use the popular Perl/Tk toolkit for developing graphical applications that work on both Unix/Linux and Windows without a single change.

Written by twenty-three of the most prominent and prolific members of the closely-knit Perl community, including Lincoln Stein, Mark-Jason Dominus, Alligator Descartes, and Dan Brian, this anthology does what no other book can, giving unique insight into the real-life applications and powerful techniques made possible by Perl.

 

Contents

Introduction
1
Part I
3
CGI Programming
5
Saving CGI State
11
Cookies
18
mod_perl
25
Creating mod_perl Applications
44
Proxying with mod_perl
57
Wireless Surfing with WAP and WML
197
Part II
217
Web Plots with Gnuplot
219
GDGraph3d
228
GD and LSystems
236
OpenGL
254
Ray Tracing
269
Perl and the Gimp
280

Authentication with mod_perl
66
Navigation Bars with mod_perl
75
Scripting the Web with LWP
86
Downloading Web Pages
90
Downloading Web Pages Through a Proxy Server
97
Parser
100
Scanning HTML
109
A Web Spider in One Line
120
webpluck
123
TortureTesting Web Servers and CGI Scripts
131
Securing Your CGI Scripts
139
Building Web Sites with Mason
151
Surreal HTML
162
Web Page Tastefulness
170
Summary
186
Glade
295
Gnome Panel Applets
306
Capturing Video in Real Time
312
Part III
333
A PerlTk Roadmap
335
Getting Started with PerlTk
340
A 15Minute PerlTk Application
353
The Mouse Odometer
359
Events
372
The Pack and Grid Geometry Managers
385
Drawing on a Canvas
396
Displaying Databases with the Tree Widget
406
Index
417
About the Authors
429

Common terms and phrases

Bibliographic information