in reply to Re^4: How to fetch the value using LWP:: UserAgent
in thread How to fetch the value using LWP:: UserAgent
As is's said in the module documentation, you can pass the XML directly to XMLin:
A string of XML A string containing XML (recognised by the presence of '<' and '>' characters) will be parsed directly. eg: $ref = XMLin('<opt username="bob" password="flurp" />');my $data = $xml->XMLin($response->decoded_content); Using temporary files should be avoided because it's possible race condition.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to fetch the value using LWP:: UserAgent
by panapka (Initiate) on Jul 17, 2012 at 04:45 UTC |