Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Speeding things up

by huck (Prior)
on Apr 15, 2018 at 01:30 UTC ( [id://1212901]=note: print w/replies, xml ) Need Help??


in reply to Speeding things up

You have a "double pump" going on there.

my $req = HTTP::Request->new(GET => $targetURL); my $res = $ua->request($req); if ($res->is_success) { my $website_content = $res->decoded_content; ... }

Replies are listed 'Best First'.
Re^2: Speeding things up
by Anonymous Monk on Apr 15, 2018 at 10:06 UTC

    Yes I know but didn't know of another way of pulling down a URL, checking response code and grabbing the content in a oner.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-26 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found