in reply to Re^3: [LWP::UserAgent] 'Can't locate object method "request" via package "1" when attempting to add a hander
in thread [LWP::UserAgent] 'Can't locate object method "request" via package "1" when attempting to add a hander

OHHHHHHHHHHHHH!!!!

"It" is the sub. so "it" the sub need a "return $HTTP::Response" in the sub, or from the code example a "return $request".

Ok, cool! Thanks for copy pasting the docs that I've read 10k times. Sometimes it just takes a 2nd look.

  • Comment on Re^4: [LWP::UserAgent] 'Can't locate object method "request" via package "1" when attempting to add a hander