http://qs1969.pair.com?node_id=645407


in reply to LWP::UserAgent Mystery

Do a Dump on the $xmlString instead of the result. I am willing to bet that the document that you are requesting is either,

  1. Invalid XML
  2. You are not getting a document back.
If you are not getting a document back, it might have to do with where your script is located. It might not be able to reach the URL from the server that it is installed on( stuff happens ).

Replies are listed 'Best First'.
Re^2: LWP::UserAgent Mystery
by Anonymous Monk on Oct 17, 2007 at 11:00 UTC
    Thanks for the replies...

    it was the webhost blocking outgoing connections, I knew it! I'm so annoyed.
    Looks like I was talking to a junior member of support who was guessing all sorts.
    An expert took over and told me it was a server problem blocking outgoing connections (what a surprise)which is being resolved.

    For info, the error message I got was

    500 Can't connect to somedomain:80 (connect: No route to host)

    so imagine how I felt when the junior told me I had my outgoing connection blocked due to terms and conditions abuse (incorrect)!!
    Anyway, I'm talking to someone who knows what they're doing now...