in reply to Re^5: Int becomes String when I convert to json
in thread Int becomes String when I convert to json
Yes,
use Cpanel::JSON::XS;
was already in there. Just bad cut & pasting. As for:
(my $hashref) = @_;
was a typo that seems to work, although I will fix that now. Just to ask tho, is there a reason I shouldn't syntax for single variables?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Int becomes String when I convert to json
by choroba (Cardinal) on May 11, 2022 at 09:29 UTC |