go ahead... be a heretic | |
PerlMonks |
Re^10: Is there a way to make a JSON out of multiple records from MySQL?by bartender1382 (Beadle) |
on May 15, 2022 at 18:22 UTC ( [id://11143902]=note: print w/replies, xml ) | Need Help?? |
I don't know what encode_json() does to "fill in" $typehint_raws, but it doesn't seem that it can be of much consequence since $typehint_raws goes out of scope with the return statement that immediately follows the subroutine call. Not sure why you say that. I've run the code dozens of times, on multiple tables and searches. Not just getting back the proper output, but my server error log shows no errors. still asking because I don't want to get bit in the rear later on.
In Section
Seekers of Perl Wisdom
|
|