my $NewDataSet = XMLin($xml, KeyAttr => [], ForceArray => ['Table']); #### my $table = $NewDataSet->{Table}; my $table_count = @$table;