in reply to Re^4: JSON module
in thread JSON module
Your hash is being flattened to a list in this line:
push @output, %hashData;
You really want a hash reference there:
push @output, \%hashData;
--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you." (src)
In Section
Seekers of Perl Wisdom