Help for this page
sub reader { foreach my $rows (@$data) { ... push @rawRecords, \%GenericData; } return \@rawRecords;
my $rows = reader($mysqlFilename); ... age => JSON_TYPE_INT} ); ...and I return $json which is the single record.