in reply to Re: Re: Re: Hashing multiple items
in thread Hashing multiple items

Use an anonymous array as value:
$coordinates{$zone} = [ $a1, $a2, $b1, $b2 ];
Don't forget to dereference it when you read your coordinates back out:
($a1, $a2, $b1, $b2) = @{$coordinates{$zone}}
Have a look at perlref and perlreftut.
Hope this helped.
CombatSquirrel.
Entropy is the tendency of everything going to hell.