in reply to Re^2: Push values into a hashin thread Push values into a hash
my @rows; ... # rest of code push @rows, { ... }; ... my $json = encode_json \@rows; [download]