foreach my $record (@records) { foreach my $key (keys %$record) { print "$key:$record->{$key}"; print $q->br; } }