Use of uninitialized value in subroutine entry..
You should see at least a line number associated with this warning (not error) message, and it should be fairly easy to zero in on the argument the subroutine is expecting and not getting.
my $typehint_raws = [ ($typehint_raw) x @$hashref];
If @$hashref is indeed a hash reference, I don't see how the code runs beyond that statement.
Win8 Strawberry 5.8.9.5 (32) Wed 05/11/2022 21:07:27 C:\@Work\Perl\monks >perl use strict; use warnings; my $hr = { qw(a b c d) }; print "got here \n"; print @$hr, "\n"; # print %$hr, "\n"; # works print "and here \n"; ^Z got here Not an ARRAY reference at - line 8.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Is there a way to make a JSON out of multiple records from MySQL?
by AnomalousMonk
in thread Is there a way to make a JSON out of multiple records from MySQL?
by bartender1382
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |