in reply to Re^6: Append JSON (from hashref)
in thread Append JSON (from hashref)

If you want to numerically index something, use an array, not a hash.

See perldsc on Perl Data Structures, and maybe Modern Perl about a good book on Perl in general.