Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: 'Can't locate object method "status" via package "HTTP::Headers"' error using LWP::UserAgent

by kcott (Archbishop)
on Jun 30, 2020 at 07:09 UTC ( [id://11118699]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MLWP::UserAgent -E '
        say LWP::UserAgent::->new()->get("http://example.com")->status_lin
    +e
    '
    200 OK
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found