The second best is to push @lines, "JSON ENTRY" within the loop, and then to print join ",\n", @lines after the loop.
See join for details.
HTH! :)
Cheers Rolf
(addicted to the Perl Programming Language)
In reply to Re^5: Size of a HASH (with more keys)
by LanX
in thread Size of a HASH (with more keys)
by David92
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |