Your question is a bit confusing, but from what I understand you want to use keys:
my $instances_hash = $data->{'local'}->{'tomcat'}->{'instances'}; my @names = keys %$instances_hash; for my $name (@names) { print "The name is $name\n"; }
In reply to Re: reading special parts of a JSON File
by Eily
in thread reading special parts of a JSON File
by Furkan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |