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 response object to see what happened.
how should i encode it? I've tried to use uri_escape function but it fails...
How does it fail? For that matter, how did you try it? (Are you beginning with some other string, and wishing to produce the escaped one; or are you beginning with the given URL string, and wishing to process it somehow?) Have you tried the examples in the LWP documentation? They're quite comprehensive. Good luck with it! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
