Perl & LWP and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
28 used & new from $19.86

Have one to sell? Sell yours here
 
   
Perl & Lwp
 
 
Start reading Perl & LWP on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Perl & Lwp (Paperback)

~ (Author)
Key Phrases: token sequences, file uploads, user agent object, Fresh Air, Walter Kirn, Joanna Merlin (more...)
4.6 out of 5 stars  See all reviews (10 customer reviews)

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

Want it delivered Tuesday, November 10? Choose One-Day Shipping at checkout. Details
13 new from $19.88 15 used from $19.86

Formats

Amazon Price New from Used from
  Kindle Edition, February 9, 2009 $15.39 -- --
  Paperback, June 19, 2002 $27.04 $19.88 $19.86
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

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

Perl & Lwp + Perl & XML
Buy Together Today: $60.41

Show availability and shipping details

  • This item: Perl & Lwp

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

  • Perl & 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)  $16.47
Programming Web Services with Perl

Programming Web Services with Perl

by Randy J. Ray
4.7 out of 5 stars (7)  $34.12
Perl Cookbook, Second Edition

Perl Cookbook, Second Edition

by Tom Christiansen
4.7 out of 5 stars (114)  $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 (10)  $19.79
Programming Perl (3rd Edition)

Programming Perl (3rd Edition)

by Larry Wall
4.2 out of 5 stars (246)  $32.97
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.

Product Details

  • Paperback: 264 pages
  • Publisher: O'Reilly Media; 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: #549,145 in Books (See Bestsellers in Books)

More About the Author

Sean M. Burke
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Sean M. Burke Page

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Perl & Lwp
75% buy the item featured on this page:
Perl & Lwp 4.6 out of 5 stars (10)
$27.04
Spidering Hacks
9% buy
Spidering Hacks 4.4 out of 5 stars (14)
$16.47
Programming Web Services with Perl
6% buy
Programming Web Services with Perl 4.7 out of 5 stars (7)
$34.12
Learning Perl, 5th Edition
5% buy
Learning Perl, 5th Edition 4.2 out of 5 stars (301)
$25.33

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(3)

Your tags: Add your first tag
 

 

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 (Astoria, NY, 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 on July 13, 2007 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

This product's forum
Discussion Replies Latest Post
No discussions yet

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


Active discussions in related forums
Discussion Replies Latest Post
Textbooks for Kindle DX? 61 14 hours ago
textbook scam 66 5 days ago
Amazon is a great place to buy textbooks! 35 17 days ago
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...

Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

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.


Your Recent History

 (What's this?)

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