Re: url encode

2007-01-31 Thread Tom Phoenix
On 1/31/07, Tatiana Lloret Iglesias <[EMAIL PROTECTED]> wrote: i'm trying to get this url but i get an error: What error? my $response = $ua->get($url); What's $ua? If it's an LWP::UserAgent object, that should be a correct way to use it. Of course, you'll need next to examine the respons

url encode

2007-01-31 Thread Tatiana Lloret Iglesias
Hi, i'm trying to get this url but i get an error: http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&u=%2Fnetahtml%2FPTO%2Fsearch-adv.htm&r=1&p=1&f=G&l=50&d=PTXT&S1=%22clear+dead%22&OS=%22clear+dead%22&RS=%22clear+dead%22 my $response = $ua->get($url); how should i encode it? I

Re: url encode

2001-10-20 Thread RaFaL Pocztarski
Pradeep Sethi wrote: > Is there a similar function in perl like PHP - urlencode / urldecode ? CGI->escape and CGI->unescape methods (they work also as functions). - RaFaL Pocztarski, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

url encode

2001-10-20 Thread Pradeep Sethi
Is there a similar function in perl like PHP - urlencode / urldecode ? Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]