I'm doing the following

                my $ua = new LWP::UserAgent;
                my $remote_url = $SOME_URL;
                my $request = new HTTP::Request('POST', $remote_url);

                $request->content_type('application/x-www-form-urlencoded');

then I'm constructing a string:

                $stg = "this=" . $THAT;

where $THAT may have spaces, etc.

Doesn't the string need to be "escaped" before being passed, i.e. if it's

this=this and that

doesn't it need to be passed as

this=this%20and%20that

If so, isn't there a Perl function (or LWP) that I can pass $stg to?

Thanks,

Steve

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to