spaceout has asked for the wisdom of the Perl Monks concerning the following question:
I've got a quick call out for help if anybody is willing. My company just started using a new credit card processing gateway. The response I receive upon sending the transaction comes back to me in a wannabe XML format but it isn't valid XML, so I can't use something like XML::Simple to parse it.
This is an example of what the response looks like:
Any ideas on what the easiest way to parse this would be? I would like to have it just stored in a hash (status=>G) or something simple like that.<status>G</status><auth_code>TT1506</auth_code><security_result>M</sec +urity_result><order_number>0006-00310-38259</order_number>
Chad
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text Parsing
by dws (Chancellor) on Apr 17, 2003 at 23:22 UTC | |
by merlyn (Sage) on Apr 18, 2003 at 03:19 UTC | |
|
Re: Text Parsing
by BrowserUk (Patriarch) on Apr 17, 2003 at 23:12 UTC |