You are querying the wrong level of your structure. Compare to this
my $output = to_json [ map { @$_ } values %{ (from_json $input)->{dns_ +zone}->{records} } ];
In reply to Re^5: How to read Array
by hdb
in thread How to read Array
by sunilgame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |