The Leading eBooks Store Online 4,034,055 members ⚫ 1,328,001 ebooks

New to

Learn more

Perl & LWP

Fetching Web Pages, Parsing HTML, Writing Spiders & More

Perl & LWP by Sean M. Burke
Buy this eBook
US$ 31.99
(If any tax is payable it will be calculated and shown at checkout.)

Perl soared to popularity as a language for creating and managing web content, but with LWP (Library for WWW in Perl), Perl is equally adept at consuming information on the Web. LWP is a suite of modules for fetching and processing web pages.The Web is a vast data source that contains everything from stock prices to movie credits, and with LWP all that data is just a few lines of code away. Anything you do on the Web, whether it's buying or selling, reading or writing, uploading or downloading, news to e-commerce, can be controlled with Perl and LWP. You can automate Web-based purchase orders as easily as you can set up a program to download MP3 files from a web site.Perl & LWP covers:

  • 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
Perl & LWP includes many step-by-step examples that show how to apply the various techniques. Programs to extract information from the web sites of BBC News, Altavista,, and the Weather Underground, to name just a few, are explained in detail, so that you understand how and why they work.Perl programmers who want to automate and mine the web can pick up this book and be immediately productive. Written by a contributor to LWP, and with a foreword by one of LWP's creators, Perl & LWP is the authoritative guide to this powerful and popular toolkit.
O'Reilly Media; June 2002
262 pages; ISBN 9780596552091
Read online, or download in DRM-free EPUB or DRM-free PDF format
Title: Perl & LWP
Author: Sean M. Burke
  • News
James Perl - Morning Journal News
Tue, 16 Aug 2016 21:25:54 -0700
James PerlMorning Journal NewsUnlimited access to all stories from The Morning Journal on your computer, tablet or smart phone. ...
Coroner: Perl autopsy could take months - The Review
Fri, 19 Aug 2016 22:18:15 -0700
Coroner: Perl autopsy could take monthsThe ReviewCoroner: Perl autopsy could take months. August 20, 2016. By STEPHEN HUBA ...
American-Born Hebron Pioneer Eddie Dribben Dies at 85 - The Jewish Press
Thu, 08 Sep 2016 00:42:23 -0700
American-Born Hebron Pioneer Eddie Dribben Dies at 85The Jewish PressBut in 2004, a military court acquitted the central ...