From: Andrew Curry <[EMAIL PROTECTED]>
> If you look at $data for the problem file its not an array at that point.
> For a single element XML::Simple doesn't display your data in a list i.e.
>
> With 1 element of record.
>
> $VAR1 = {
> 'RECORD' => {
>
On 2007/04/02, at 15:14, Dave Adams wrote:
My script is having problems reading and XML file with only one
record in
it. When I add two or more records, there are no problems. The
error is
"Not and ARRAY reference.."
Here is the PROBLEM xml file (test.xml):
FBIS2004
CP1
Here is t
If you look at $data for the problem file its not an array at that point.
For a single element XML::Simple doesn't display your data in a list i.e.
With 1 element of record.
$VAR1 = {
'RECORD' => {
'COLLNAME' => 'FBIS2004',
'DOCI' => 'CP1'