-- O thievish Night, Why should'st thou, but for some felonious end, In thy dark lantern thus close up the stars? --Miltonmy @arr = qw(red green brown); my $hash; $hash = { $_ => $hash || 1 } for (reverse @arr);
In reply to Re: setting hash keys by array
by Felonious
in thread setting hash keys by array
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |