If you don't require random access, you can iterate over all the items without needing to use an index.
foreach my $item (values $config->{item}) { print $item->{destination_dir}; }
In reply to Re: How do I access values in a hash by two different keys?
by Loops
in thread How do I access values in a hash by two different keys?
by turbodizik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |