It's conventional and helpful for you to describe the error or problem. In this case it's evident enough, especially as leaping straight into using a hash reference instead of a hash is something of a code smell.
Change my $ref = { to my %hash = ( (and change the closing '}' of course). Remove @keys and change my $k(@keys) to my $k (keys %hash).
In reply to Re: iterating 2 arrays
by GrandFather
in thread iterating 2 arrays
by sunil9009
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |