Book description
On the World Wide Web, people are accustomed to using graphical browsers such as Netscape Navigator or Mosaic as their only interface for visiting remote sites, accessing up-to-date documents, and filling out forms. But graphical browsers can be limiting: the very interactivity that makes them so intuitive to use also makes them clumsy for automating tasks. If you want to get the latest weather report every few hours, track a Federal Express package online, or use a dictionary server repeatedly throughout the day, using your browser to perform the same task over and over can become cumbersome. As with any repetitive task, these applications are best done by writing a script.Web Client Programming with Perl shows you how to extend scripting skills to the Web. This book teaches you the basics of how browsers communicate with servers and how to write your own customized Web clients to automate common tasks. It is intended for those who are motivated to develop software that offers a more flexible and dynamic response than a standard Web browser.Using this book, you'll learn how to:
Automate repetitive queries on the Web
Detect broken hyperlinks on your site
Write simple "robots" that traverse hyperlinks across a site, and across the Web in general
This book will be of interest to:
Web administrators who need to automate repetitive tasks or reduce maintenance time
UNIX shell programmers who want to interface their scripts to the Web
Commercial software developers and consultants who need reference material for technical Web specifications and proof-of-concept examples
Most of the examples in this book use Perl, a versatile and portable language that is already familiar to many CGI programmers and UNIX power users. The book does not teach Perl, but the techniques used in the book should be easily followed by anyone with some programming background and can be adapted to whatever language you choose.
Table of contents
- Cover Page
- Title Page
- Contents
- Preface
- Chapter 1. Introduction
- Chapter 2. Demystifying the Browser
- Chapter 3. Learning HTTP
- Chapter 4. The Socket Library
- Chapter 5. The LWP Library
- Chapter 6. Example LWP Programs
- Chapter 7. Graphical Examples with Perl/Tk
- Appendix A HTTP Headers
- Appendix B Reference Tables
- Appendix C The Robot Exclusion Standard
- Index
Product information
- Title: Web Client Programming with Perl
- Author(s):
- Release date: November 1997
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565922143
You might also like
book
Database-Driven Web Development: Learn to Operate at a Professional Level with PERL and MySQL
Learn to operate at a professional level with HTML, CSS, DOM, JavaScript, PERL and the MySQL …
book
Perl for Web Site Management
Checking links, batch editing HTML files, tracking users, and writing CGI scripts--these are the often tedious …
book
Perl & LWP
Perl soared to popularity as a language for creating and managing web content, but with LWP …
book
Wicked Cool Perl Scripts
Most Perl programmers have been frustrated at one time or another because the system just wouldn't …