in reply to Parse XML file

I can now extract the elements of my XMl that are required. I am strugling to get the script to read the XML that is returned when the URl is called though. here is the part in quiestion
$fh = IO::File->new('http://www.q.hpixml.com/servlet/HpiGate1_0?forwa +rd=YES&efxid=0503506&password=testing&initials=mk&function=SEARCH&vrm +=fp08rou&XML=YES&product=HPI11&devicetype=XM');
im not sure if the IO::FILE is the correct module to use.

Any ideas??

Replies are listed 'Best First'.
Re^2: Parse XML file
by derby (Abbot) on Dec 06, 2010 at 12:52 UTC

    It's not ... LWP::Simple is probably the best place to start (and LWP if you have to to anything complicated).

    -derby
      Thanks for your Help. Used LWP::Simple then the get() command. works a treat. Thanks Again.