Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Slow WWW::Mechanize->get

by Anonymous Monk
on Jan 26, 2013 at 01:49 UTC ( #1015447=note: print w/replies, xml ) Need Help??

in reply to Re^2: Slow WWW::Mechanize->get
in thread Slow WWW::Mechanize->get

read the docs :) ->res->headers->as_string

Replies are listed 'Best First'.
Re^4: Slow WWW::Mechanize->get
by AnK_ (Initiate) on Jan 26, 2013 at 02:11 UTC
    Thanks. However to understand the difference between WWW::Mechanize and Firefox i need the headers before get( $start_page ). The $mech->res->headers->as_string is not defined there. Sorry, if i misunderstood your reply.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015447]
erix .oO( that sounds Boyer-Mooreish )
[Corion]: erix: Yes, but that's mostly for skipping characters you'll never read, but this approach skips the problem of needing to load more data while looking at a half-match
[Corion]: I mostly wonder how I can add this "reversal" to my toolchest, and if it's worth it or just clever

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2016-12-06 15:32 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (108 votes). Check out past polls.