Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: Is there a way to make a JSON out of multiple records from MySQL?by bartender1382 (Beadle) |
on May 12, 2022 at 02:43 UTC ( [id://11143806]=note: print w/replies, xml ) | Need Help?? |
To be clear,I left the line number out because it means nothing, but it is definitely on the line: my $json = encode_json($arrayref, $typehint_raws); Using print Dumper I verify that: Once again, everything works, but each call to the above line returns that error. Here's the code I use to retrieve each record....
So I have an array of arrays, but each array holds the reference to a hash for each record read And $data is passed to this function
In Section
Seekers of Perl Wisdom
|
|