Imagine I've got an array @a and I want use each value of the array as a key in a hash, like:
Is this possible without using a loop, just in one line? thanx :-D$b{$a[0]}, $b{$a[1]}, $b{$a[2]} ...
In reply to use array for hash-keys without loop by piccard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |