Help for this page

Select Code to Download


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