in reply to 'Can't locate object method "status" via package "HTTP::Headers"' error using LWP::UserAgent
G'day Cody Fendant,
As already indicated by ++Fletch, if you show your code we can give a better answer. However, as you mentioned that you'd checked LWP::UserAgent, perhaps you're after its status_line method.
$ perl -MLWP::UserAgent -E ' say LWP::UserAgent::->new()->get("http://example.com")->status_lin +e ' 200 OK
And, of course, do bear in mind that's a complete guess.
— Ken
In Section
Seekers of Perl Wisdom