This produces no output, however if you dont dereference $i, it does produce the address of the array, what is going on?@a=qw\ 2 4 7 6 4\; $hash{[@a]} = "jello"; foreach $i (keys %hash) { print @$i; }
In reply to array reference as hash key by smgfc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |