creates a package hash as well.use strict; @::hash{@keys} = @values;
In reply to Re^2: Declare and slice-initialize hash in one statement?
by Perl Mouse
in thread Declare and slice-initialize hash in one statement?
by chester
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |