in reply to Re: Re: Re: Hashing multiple items
in thread Hashing multiple items
Don't forget to dereference it when you read your coordinates back out:$coordinates{$zone} = [ $a1, $a2, $b1, $b2 ];
Have a look at perlref and perlreftut.($a1, $a2, $b1, $b2) = @{$coordinates{$zone}}
|
|---|