Special Edition
Using Perl
for
Web Programming

David Harlan, et al.


CONTENTS

Chapter 1   Perl Overview

Chapter 2   Introduction to CGI

Chapter 3   Advanced Form Processing and Data Storage

Chapter 4   Advanced Page Output

Chapter 5   Searching

Chapter 6   Using Dynamic Pages

Chapter 7   Dynamic and Interactive HTML Content in Perl and CGI

Chapter 8   Understanding Basic User Authentication

Chapter 9   Understanding CGI Security

Chapter 10   Site Administration

Chapter 11   Database Interaction

Chapter 12   Database Application Using CGI

Chapter 13   Special Variables

Chapter 14   Operators

Chapter 15   Function List

Chapter 16   Subroutine Definition

Appendix A   Perl Acquisition and Installation

Appendix B   Perl Web Reference

Appendix C   What's On the CD?



Credits


Special Edition Using Perl for Web Programming

Copyright © 1996 by Que® Corporation.

All rights reserved. Printed in the United States of America. No part of this book may be used or reproduced in any form or by any means, or stored in a database or retrieval system, without prior written permission of the publisher except in the case of brief quotations embodied in critical articles and reviews. Making copies of any part of this book for any purpose other than your own personal use is a violation of United States copyright laws. For information, address Que Corporation, 201 W. 103rd Street, Indianapolis, IN, 46290. You may reach Que's direct sales line by calling 1-800-428-5331.

ISBN: 0-7897-0659-8

HTML conversion by :
    M/s. LeafWriters (India) Pvt. Ltd.
    Website : http://leaf.stpn.soft.net
    e-mail : leafwriters@leaf.stpn.soft.net


PresidentRoland Elgey PublisherJoseph B. Wikert
Publishing ManagerFred Slone Senior Title ManagerBryan Gambrel
Editorial Services DirectorElizabeth Keaffaber Managing EditorSandy Doell
Strategic Marketing ManagerBarry Pruett Acquisitions EditorAl Valvano
Product Marketing ManagerKim Margolius Assistant Product Marketing Manager Christy M. Miller
Technical EditorsAlden Hutchinson Jim JagelskiSean Chisham
Technical Support SpecialistNadeem Muhammed Acquisitions CoordinatorCarmen L. Krikorian
Software Relations CoordinatorPatty Brooks Editorial AssistantAndrea Duvall
Book DesignerRuth Harvey Cover DesignerDan Armstrong
Production TeamStephen Adams, Debra Bolhuis, Jason Carr, Erin M. Danielson, Daniel Harris, Jason Hand, Daryl Kessler, Casey Price, Kaylene Riemen, Bobbi Satterfield
IndexerTim Tate


About the Authors

David Harlan's degree in American History and five years of experience in a security department at a small university may make him seem to be an unlikely author for a high-end programming book. But computers have always been a key part of his day-to-day activities. He learned programming (and was just short of a computer science degree) at the University of Puget Sound. After graduation, he stayed on at Puget Sound as assistant director of security for five years before joining Canyon Online Media in Seattle, where he helped develop the company's commercial Web site. Currently, he is a member of the Web development team at White Horse Studios in Portland, Oregon.

Micheal O Foghlu is now a lecturer in applied computing and information systems at Waterford Regional Technical College, Ireland (http://www.rtc-waterford.ie). Until September 1996, he worked in the computer services department of University College, Galway, Ireland (http://www.ucg.ie). His interests include Natural Language Processing, WWW programming and development, Linux, computing using the Irish language, and Z39.50. When not slaving over a hot computer, he is sometimes seen nursing a quiet pint while listening to loud Irish music and/or meandering through the hills in no particular direction. He can be contacted at the e-mail address ofoghlu@indigo.ie.

Paul Doyle has several years of experience in the planning, implementation, and management of networks in multiprotocol, multivendor environments. His specialist areas include client configuration and server management.

Shelley Powers is an incorporated independent contractor who has her own company, YASD. She works in and out of Portland, Oregon, and has worked with some of the leading companies in the Northwest. Shelley has worked with UNIX- and Windows-based client/server applications for several years; now she is working with Web application and development for both environments. She has written books on PowerBuilder 5.0 and on JavaScript. YASD's Web site is at http://www.yasd.com.

Matthew D. Healy performs a variety of tasks, ranging from UNIX system administration and database administration to building WWW front ends on top of Sybase, Msql, and Illustra relational databases at the Yale Center for Medical Informatics. He contributed to Special Edition Using CGI, also published by Que Corporation. Before joining YCMI, he was an engineer, a graduate student, a teaching assistant, and a LAN administrator-and always a rabid SF fan. Along the way, he earned a BS in engineering from Purdue and a PhD in zoology from Duke. He'd love to get e-mail at Matthew.Healy@yale.edu, and his home page (http://ycmi. med.yale.edu/~healy) always welcomes visitors. Scientific and technical prose constitutes something of a family affair for him-his wife edits medical journals, and his brother is a technical writer for a large software company.

We'd Like to Hear from You!

As part of our continuing effort to produce books of the highest possible quality, Que would like to hear your comments. To stay competitive, we really want you, as a computer book reader and user, to let us know what you like or dislike most about this book or other Que products.

You can mail comments, ideas, or suggestions for improving future editions to the address below, or send us a fax at (317) 581-4663. For the online-inclined, Macmillan Computer Publishing has a forum on CompuServe (type GO QUEBOOKS at any prompt), through which our staff and authors are available for questions and comments. The address of our Internet site is http://www.mcp.com (World Wide Web).

In addition to exploring our forum, please feel free to contact me personally to discuss your opinions of this book: I'm 74671,3710 on CompuServe, and I'm avalvano@que.mcp.com on the Internet.

Thanks in advance-your comments will help us continue to publish the best books available on computer topics in today's market.

Al Valvano
Acquisitions Editor
Que Corporation
201 W. 103rd Street
Indianapolis, Indiana 46290
USA

NOTE
Although we cannot provide general technical support, we're happy to help you resolve problems you encounter related to our books, disks, or other products. If you need such assistance, please contact our Tech Support department at 800-545-5914, ext. 3833.
To order other Que or Macmillan Computer Publishing books or products, please call our Customer Service department at 800-835-3202 ext. 666