Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
20 used & new from $8.87

Have one to sell? Sell yours here
 
   
Perl & LWP
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  
4.6 out of 5 stars See all reviews (10 customer reviews)

List Price: $39.99
Price: $26.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.60 (34%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 1 left in stock--order soon (more on the way).

Want it delivered Monday, July 13? Choose One-Day Shipping at checkout. Details
5 new from $26.39 15 used from $8.87
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Perl & LWP and get Perl and XML at an additional 5% off Amazon.com's everyday low price.

Perl & LWP + Perl and XML
Buy Together Today: $58.76

Show availability and shipping details

  • This item: Perl & LWP

    In Stock.
    Ships from and sold by Amazon.com.

  • Perl and XML

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Spidering Hacks

Spidering Hacks

by Kevin Hemenway
4.4 out of 5 stars (14)  $18.21
Perl Cookbook, Second Edition

Perl Cookbook, Second Edition

by Tom Christiansen
4.7 out of 5 stars (113)  $32.97
Programming Web Services with Perl

Programming Web Services with Perl

by Randy J. Ray
5.0 out of 5 stars (6)  $33.02
Programming Perl (3rd Edition)

Programming Perl (3rd Edition)

by Larry Wall
4.0 out of 5 stars (111)  $32.97
Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving

Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving

by chromatic
5.0 out of 5 stars (9)  $19.79
Explore similar items

Editorial Reviews

Amazon.com Review
Perl & LWP sets out to unwrap the Library for the Web in Perl (LWP), which is a collection of modules that make it easier to access and pick apart Web pages (and FTP-accessible files, and outgoing e-mail messages) from within your Perl programs. The book succeeds wonderfully, not only in conveying the technical aspects of LWP programming, but in making clear the fun of doing work that's very well suited to Perl. Sean Burke assumes that his readers know something about Perl, albeit not much, and a similar amount about HTML. He does a great job of explaining how LWP functions fit into Perl programs, and how you can use them to make reference to Internet resources far more easily than before.

Burke's narrative takes the form of a guided tour in which he introduces his readers to aspects of the LWP modules one by one. His tone is generally straightforward (sharp commentary alternates with brief code listings, with occasional passages of reference material), but there's sometimes an undercurrent of exuberance that makes the reader want to get going with his or her own programming right away. Overall, the emphasis is on teaching both LWP and Perl itself to the extent necessary to do LWP work. Because of the concise and nicely indexed code modules, though, you'll find this book useful as a reference after you're under way with LWP. --David Wall

Topics covered: How to program with LWP and Perl itself. All of LWP's strong points--including HTML parsing (with tokens and trees as well as with regular expressions), HTML generation and modification, manipulation of HTML forms, and the operation of spiders--are covered. This book has more of a tutorial tone than any similar reference material on the Internet.

Product Description
With the LWP (Library for WWW in Perl) suite of modules, your programs can download and extract information from the Web. Written by a contributor to LWP, and with a foreword by one of LWP's creators, Perl & LWP is the authoritative guide to using this powerful and popular toolkit.You'll learn how to navigate the Web with LWP, fetching web pages, submitting forms, managing cookies, and accessing authenticated web sites. The book also demonstrates using three different techniques, regular expressions, tokens, and tress, to extract information from HTML. The many detailed case studies show you how to apply this knowledge to real world situations, from downloading news stories to e-commerce. Perl & LWP is a must have for Perl programmers who want to automate and mine the Web.

See all Editorial Reviews


Product Details

  • Paperback: 260 pages
  • Publisher: O'Reilly Media, Inc.; 1st edition (June 20, 2002)
  • Language: English
  • ISBN-10: 0596001789
  • ISBN-13: 978-0596001780
  • Product Dimensions: 9.2 x 7 x 0.8 inches
  • Shipping Weight: 1.1 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars See all reviews (10 customer reviews)
  • Amazon.com Sales Rank: #113,212 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #85 in  Books > Computers & Internet > Web Development > Web Services

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Perl & LWP
78% buy the item featured on this page:
Perl & LWP 4.6 out of 5 stars (10)
$26.39
Programming Web Services with Perl
7% buy
Programming Web Services with Perl 5.0 out of 5 stars (6)
$33.02
Perl and XML
6% buy
Perl and XML 4.3 out of 5 stars (7)
$34.07
Spidering Hacks
5% buy
Spidering Hacks 4.4 out of 5 stars (14)
$18.21

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(2)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

10 Reviews
5 star:
 (9)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (10 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
18 of 18 people found the following review helpful:
5.0 out of 5 stars Excellent coverage of LWP, packed full of useful examples, July 16, 2002
By Gavin Estey (Burlington, VT, USA) - See all my reviews
I was definitely interested when I first heard that O'Reilly were publishing a book on LWP. LWP is a definitive collection of perl modules covering everything you could think of doing with URIs, HTML, and HTTP. While 'web services' are the buzzword friendly technology of the day, sometimes you need to roll your sleeves up and get a bit dirty scraping screens and hacking at HTML. For such a deep subject, this book weighs in at a slim 242 pages. This is a very good thing. I'm far too busy to read these massive shelf-destroying tomes that seem to be churned out recently.

It covers everything you need to know with concise examples, which is what makes this book really shine. You start with the basics using LWP::Simple through to more advanced topics using LWP::UserAgent, HTTP::Cookies, and WWW::RobotRules. Sean shows finger saving tips and shortcuts that take you more than a couple notches above what you can learn from the lwpcook manpage, with enough depth to satisfy somebody who is an experienced LWP hacker.

This book is a great reference, just flick through and you'll find a relevant chapter with an example to save the day. Chapters include filling in forms and extracting data from HTML using regular expressions, then more advanced topics using HTML::TokeParser, and then my preferred tool, the author's own HTML::TreeBuilder. The book ends with a chapter on spidering, with excellent coverage of design and warnings to get your started on your web trawling.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
14 of 14 people found the following review helpful:
5.0 out of 5 stars This book can teach you expert-level web scraping/munging., July 12, 2003
By "mwickline" (Portland, Oregon USA) - See all my reviews
If you aren't yet comfortable using object-oriented Perl modules, the multitude of examples will at least allow you see how it's done even if you're a bit fuzzy on what's happening 'underneath' when you call object methods. If you're comfortable learning how to do something without knowing exactly why it works, then the author's clear step-by-step explantions and numerous progressively more powerful examples should make this book accessible even to relatively innexperienced Perl programmers.

More experienced programmers will understand better why things work, but any Perl programmer will set this book down feeling empowered to turn the web into their own valet. No longer do you need to check multiple sites looking for interesting information. Instead, you can readily author code to do that for you and alert you when items of interest are found. You can use these tools to free up personal time, to harvest information to inform business decisions, to automate tedious web application testing, and a zillion other things.

The author's clear exploration of the relevant Perl modules leaves the reader with a good depth of understanding of what these modules do, when you might want to use which module, and how to use them for real world tasks. Before reading the book, I knew of these modules, but they were a rather intimidating pile. I'd used a few of them on occasion for rather limited projects, but was reluctant to invest the time required to read all of the documentation from the whole collection. Mountains of method-level documentation do not a tutorial make. This book takes all of that information, selects the most important parts, and ensures that those parts are covered in progressively more powerful and/or flexible examples.

If you know Perl and you're sick of 'working the web' to get information and you want the web to work for you instead, then you need this book. I had a personal project that was on the back burner for a couple of years because it just sounded too hard. The weekend after I finished this book, I wrote what I had previously thought to be the hard part of that project and it was both easy and fun. This book makes hard things not just possible, but actually easy.

-matt

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
14 of 14 people found the following review helpful:
5.0 out of 5 stars Very Informative and useful, August 7, 2002
By "sherzodr" (East Lansing, MI USA) - See all my reviews
As a web programmer, I had dealt with several such projects dealing with web automation and writing simple crawlers even before I read "Perl & LWP". The book was the first book I've read on the subject, and I'm by no means disappointed. The book is very well organized, very informative and nails the subject in the head. I am pleased.

I noticed some inaccuracies in the discussions, some chopped off paragraphs and sentences. But this doesn't affect the usability of the book much. Author Sean Burke does a great job in walking one through the most of the aspects of web automation and data extraction in the web using Perl and LWP (libwww in Perl ).

The codes the book gives are very well organized, well written and easily debugable. The steps are pretty consistent across all the examples:
a) Inspect the HTML source code of the page;
b) Determine the tokens and patterns of interest;
c) Write the first code;
d) Fine tune the code;

As usual, I'll be commenting on individual chapters to give you an idea of the
coverage of the book in more details...

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Honest Assessment of Burke's Perl & LWP
This is not your typical clunker with endless pages of filler material. It gets right to the point. If you want to learn about using Perl to interact with the internet, this would... Read more
Published 24 months ago by Paul Creswell

5.0 out of 5 stars A Wonderful Book
I bought this book to get information automatically on japanese stocks(for example, charts, price, volume, PER, PBR, ROE, ROA, News, messages on Yahoo! Read more
Published on August 18, 2006 by Japanese Reviewer

5.0 out of 5 stars Great book!
If you are unfamiliar with LWP and web scraping, or HTML parsing using tokens and trees, I strongly recommend this book. Read more
Published on March 15, 2003 by Matthew D. Huwiler

1.0 out of 5 stars Terrible, bug-infested book...
I really don't know how the previous 5 reviews gave this book 5 stars. I was really excited about this book when I first read the reviews, and now here I am only a few chapters... Read more
Published on November 5, 2002 by Kevin

5.0 out of 5 stars Exploit the web with power and ease
Disclaimer: The author is an online-type-friend and I used to work with the author of the foreword. I even got my copy for free. Read more
Published on September 1, 2002 by Neil Kandalgaonkar

5.0 out of 5 stars Fabulous book!
This book is a comprehensive and authoritative guide to web automation. It reads as both a gentle tutorial and a well organized reference. Read more
Published on August 30, 2002 by Kenneth E. Boggs

5.0 out of 5 stars A must-read for exploiting the web in a GOOD way.
A great book for anyone who wishes to automate daily tasks on the web. Sean does an outstanding job of showing how Perl can be used to extract and manipulate not just data but... Read more
Published on July 11, 2002 by Kevin Healy

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


An Explosion of Popcorn Flavor!

Fireworks Popcorn & Seasoning Set
Munchies have never been better. The Fireworks Popcorn & Seasoning Set gives you four popcorn types and four seasonings, including white cheddar, butter burst, caramel pecan, and popcorn salt--all for $15.49.
 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Rake the Roof

Shop for Snow Rakes
Prevent snow damage and keep your roof clear with a snow rake from the Home Improvement Store.

Shop all snow removal products

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning
The Adventures of Sherlock Holmes
The Adventures of Sherlock Holmes by Arthur Conan, Sir, 1859-1930 Doyle

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates