my @sites = qw(site1 site2); my %lookup; foreach (@sites) { foreach my $h (0 .. 23) { $lookup{$_}{$h} = 0; } }
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: building a complex data structure
by davorg
in thread building a complex data structure
by ministry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |