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 reply to Re^5: JSON module
by LTjake
in thread JSON module
by hallikpapa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |