for (my $i = 0; $i < $theNumberOfItems; $i++) { print $config->{item}{$i}->{destination_dir}; }