Actually, that's not the hash reference itself that you're seeing. It's the third element of the hash, which was created by the empty curly braces. Change:
my %hash = {};to:
my %hash;and it should work the way you're looking for.
In reply to Re: Build JSON With Perl
by MVS
in thread Build JSON With Perl
by srchulo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |