Re: url encode



On 1/31/07, Tatiana Lloret Iglesias <tlloreti@xxxxxxxxx> 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
.



Relevant Pages

  • RE: Add Record with combo box
    ... Private Sub JCTARSectionLayer1ID_NotInList(NewData As String, ... Response As Integer) ... Dim strMsg As String ... Dim rst As DAO.Recordset ...
    (microsoft.public.access.formscoding)
  • RE: Add Record with combo box
    ... Private Sub JCTARSectionLayer1ID_NotInList(NewData As String, ... Response As Integer) ... Dim strMsg As String ... Dim rst As DAO.Recordset ...
    (microsoft.public.access.formscoding)
  • RE: Cbo Update Problems
    ... Dim strFormName As String ... > original form, but it then asks if I want to add the part number again. ... > Private Sub PartNumber_NotInList(NewData As String, Response As Integer) ... > Dim strMessage As String ...
    (microsoft.public.access.forms)
  • RE: Combo Box and Limit To List
    ... No that is not on the list I get the message "Add a new charge No?". ... Private Sub ChargeNo_EL_NotInList(NewData As String, Response As Integer) ... Dim mbrResponse As VbMsgBoxResult ...
    (microsoft.public.access.formscoding)
  • RE: Add Record with combo box
    ... Private Sub JCTARSectionLayer1ID_NotInList(NewData As String, ... Response As Integer) ... Dim strMsg As String ... Dim rst As DAO.Recordset ...
    (microsoft.public.access.formscoding)