By Sean M. Burke
June 2002
Pages: 260
ISBN 10: 0-596-00178-9 |
ISBN 13: 9780596001780
![]()
![]()
![]()
![]()
(Average of 1 Customer Reviews)
The LWP (Library for WWW in Perl) suite of modules lets your programs download and extract information from the Web. Perl & LWP shows how to make web requests, submit forms, and even provide authentication information, and it demonstrates using regular expressions, tokens, and trees to parse HTML.. This book is a must have for Perl programmers who want to automate and mine the Web.
Full Description
- Understanding LWP and its design
- Fetching and analyzing URLs
- Extracting information from HTML using regular expressions and tokens
- Working with the structure of HTML documents using trees
- Setting and inspecting HTTP headers and response codes
- Managing cookies
- Accessing information that requires authentication
- Extracting links
- Cooperating with proxy caches
- Writing web spiders (also known as robots) in a safe fashion
Register your book | Submit Errata | Examples
Browse within this book
Cover | Table of Contents | Index | Sample Chapter | Colophon
Book details
First Edition: June 2002
ISBN: 0-596-00178-9
Pages: 260
Average Customer Reviews: ![]()
![]()
![]()
![]()
(Based on 1 Reviews)
Featured customer reviews
Perl & LWP Review, December 09 2003
Nice & concise book.
Only backdraw is that most of the examples in this book donot work.
(as websites used have either moved or have changed their format) .
It would have been helpful if the examples had run.
Avirup
Media reviews
"The indispensable guide to learning LWP and using it effectively."
--Netsurfer Digest, Feb 14, 2003
"'Perl & LWP' is a solid, no-nonsense book that will teach you how to do screen-scraping using Perl...Excellent introduction to extracting and processing information from web sites...The book is well-written and to-the-point. It is structured in a way that mimics what a programmer new to the field would do: start from the docs for a module, play with it, write snippets of code that use the various functions of the module, then go on to coding real-life examples. I particularly liked the fact that the author often explains the whys, and not only the hows, of the various pieces of code he shows us...rating 9."
--mir, slashdot.org, August 19, 2002
"Salted with plenty of examples, the book covers the whole process of navigating HTTP, downloading content, and parsing it into something usable."
--Rick Wayne, Software Development, September 2002







