RE: LWP::UserAgent - browser simulation

2001-08-30 Thread Marc Power
Worked like a charm, thanks! -Original Message- From: Liam Quinn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:04 PM To: Marc Power Cc: [EMAIL PROTECTED] Subject: RE: LWP::UserAgent - browser simulation On Wed, 29 Aug 2001, Marc Power wrote: > Ah I spoke too s

RE: LWP::UserAgent - browser simulation

2001-08-29 Thread Liam Quinn
On Wed, 29 Aug 2001, Marc Power wrote: > Ah I spoke too soon, what you said is absolutely correct Liam, > but my program is encoding spaces as %20 whereas > the browser is encoding them as + because its in a form. > > How can I make my program encode spaces to + ? Upgrade your URI module to 1.10

RE: LWP::UserAgent - browser simulation

2001-08-29 Thread Marc Power
; ]; my $content = $ua->request($req)->as_string; -Original Message- From: Liam Quinn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 10:25 PM To: Marc Power Cc: [EMAIL PROTECTED] Subject: Re: LWP::UserAgent - browser simulation On Wed, 29 Aug 2001, Marc Power wrote:

RE: LWP::UserAgent - browser simulation

2001-08-29 Thread Marc Power
Thanks Liam...I did say it might be obvious! cheers, Marc -Original Message- From: Liam Quinn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 10:25 PM To: Marc Power Cc: [EMAIL PROTECTED] Subject: Re: LWP::UserAgent - browser simulation On Wed, 29 Aug 2001, Marc Power

Re: LWP::UserAgent - browser simulation

2001-08-29 Thread Liam Quinn
On Wed, 29 Aug 2001, Marc Power wrote: > Hi, this is my first ever post here so please forgive me if > my answer is obvious. > > my program has the lines: > > my $req = POST 'http://xxx.yyy.com', >[ xxx => 'test1', proceed => '+Click+here+' ]; > > my $content = $ua->request($req)-