- or download this
$cost = $h->{Locations}{$location}{Buildings}{$b}{cost};
- or download this
$cost = $h->Locations->$location->Buildings->$b->cost;
- or download this
$cost = $h->{"Locations.$location.Buildings.$b.cost"};
- or download this
while (my ($key, $value) = $h->each)
{
...
.
.
.