in reply to Sending a POST and cookies via HTTP:Request::Common

I have almost exactly the same code as you mentioned above and I am getting the following error. Can't locate object method "url" via package "HTTP::Headers" (perhaps you forgot to load "HTTP::Headers"?) at (eval 16) line 1. Yes, I have the line use HTTP::Headers. What else could be wrong here? HELP!!!!
  • Comment on Re: Sending a POST and cookies via HTTP:Request::Common

Replies are listed 'Best First'.
Re: Re: Sending a POST and cookies via HTTP:Request::Common
by Anonymous Monk on Jan 08, 2004 at 17:55 UTC
    Okay I have copied the exact code from the above, included the POST in the namespace.
    I still get an error that I don't understand

    Can't locate object method "url" via package "HTTP::Headers" at /opt/local/lib/perl5/site_perl/5.005/HTTP/Message.pm line 186.

    Can someone PLEASE help with this?
    I am using perl 5.005_02 built for PA-RISC1.1