Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Where to GET the pieces

by Athanasius (Archbishop)
on Feb 18, 2016 at 06:53 UTC ( [id://1155523]=note: print w/replies, xml ) Need Help??


in reply to Where to GET the pieces

Hello geoffleach,

I think you need to provide more information. What is the web page you’re trying to retrieve? And what exactly is the command you issue via LWP::UserAgent to send the GET request?

In the meantime, lwpcook#LARGE-DOCUMENTS has a code snippet showing how to use LWP::UserAgent to process a large document in chunks, as it arrives. That may be what you’re looking for.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Where to GET the pieces
by geoffleach (Scribe) on Feb 18, 2016 at 17:20 UTC
    Thanks. That is exactly what I needed.

    For anyone who might need this in future, the secret is to use the content callback ($content_cb) in the call to $ua->request().

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1155523]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found