in reply to Error while compiling LWP code

for request, you need to create the HTTP::Request object (and it's the first param) or use the convenience methods:

my $ua = LWP::UserAgent->new; my $url = 'http://xyz.com/Submit/SubmitMain.asp'; my $res = $ua->post( $url, { Location => 'MM02', Tickettype => '5120', CoreDirCorrect => 1, PhoneNumber => '12335656787', CustomerImpact => 3, 800014118 => 0, Severity => 'HIGH', InitialDescription => 'Test Request', SUBMIT1 => 'Submit Ticket Request' } );

-derby

Replies are listed 'Best First'.
Re^2: Error while compiling LWP code
by ikegami (Patriarch) on Mar 15, 2006 at 20:39 UTC

      Doh!

      -derby