I don't know if map will be any faster, but ...
my $VAR1 = { map { $_ => { map { $_ => [] } @array } } @array };
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
In reply to Re: Initializing HoHoA with Map
by Sidhekin
in thread Initializing HoHoA with Map
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |