develooper Front page | perl.libwww | Postings from April 2001

is there any escape_URL dunction

Thread Next
From:
ben goswami
Date:
April 27, 2001 07:32
Subject:
is there any escape_URL dunction
Message ID:
009d01c0cf26$e4265c40$2b0b0c18@smateo1.sfba.home.com
Hi,
is there any escape_URL function which will allow me to escape any URL instead of handling urls everytime seperately. 

my $Url = "http://www.epaynews.com/index.cgi?survey=&ref=browse&f=view&id=98837486321212015050&block=;
my $ua = LWP::UserAgent->new;
## next line causes problems as url is not  'escaped'
my $request = HTTP::Request->new(GET => $Url);
      my $response = $ua->request($request);
     ....
    ....

thx





Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About