Troubles getting a value out of an XML object

2005-10-24 Thread Dave Adams
I am having troubles getting a value out of an XML object. *Here is my object:* my $xml = new XML::Simple; my $data = $xml-XMLin($ResponseDoc); *Here is the script asking for a snippet of data:* print Dumper($data-{CreateLock}); ** *Here is the output:* $VAR1 = { 'DatabaseId' = 'db1

Re: Troubles getting a value out of an XML object

2005-10-24 Thread Jeff 'japhy' Pinyan
On Oct 24, Dave Adams said: my $xml = new XML::Simple; my $data = $xml-XMLin($ResponseDoc); print Dumper($data-{CreateLock}); $VAR1 = { 'DatabaseId' = 'db1', 'RecordNumber' = '23617', 'Id' = 'test' }; *Question:* How do I get the value of RecordNumber? You knew how to get