Re: AW: Problems with LWP::UserAgent and HTTP::Response

2001-06-18 Thread Jos Boumans
gt; > > -Ursprüngliche Nachricht- > > Von: Tim Keefer [mailto:[EMAIL PROTECTED]] > > Gesendet: Montag, 18. Juni 2001 15:46 > > An: Ela Jarecka; Beginners list (E-Mail) > > Betreff: Re: Problems with LWP::UserAgent and HTTP::Response > > > > > &

AW: Problems with LWP::UserAgent and HTTP::Response

2001-06-18 Thread Ela Jarecka
Ela Jarecka; Beginners list (E-Mail) > Betreff: Re: Problems with LWP::UserAgent and HTTP::Response > > > Hi Ela, > The documentation for perl LWP agent seems sparse. I had a > difficult time > figuring out how to send multipart form-data. I'll share the > code with y

Re: Problems with LWP::UserAgent and HTTP::Response

2001-06-18 Thread Tim Keefer
Hi Ela, The documentation for perl LWP agent seems sparse. I had a difficult time figuring out how to send multipart form-data. I'll share the code with you that some shared with me. Hope it helps. require LWP; use LWP::UserAgent; use HTTP::Request::Common; # Create a user agent object

Problems with LWP::UserAgent and HTTP::Response

2001-06-18 Thread Ela Jarecka
Hi, I am using the following code to send and XML document ( output.xml ) to a remote server: use strict; use LWP::Debug qw(+); use LWP::UserAgent; use IO; my $resp; $resp = 'response.xml'; my $FILEH; open (FILEH, ) or die "Can't open file output.xml!\n"; my $ua = LWP::UserAgent->new; #another