Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: building a complex data structure

by davorg (Chancellor)
on Jun 20, 2006 at 16:15 UTC ( [id://556448]=note: print w/replies, xml ) Need Help??


in reply to building a complex data structure

my @sites = qw(site1 site2); my %lookup; foreach (@sites) { foreach my $h (0 .. 23) { $lookup{$_}{$h} = 0; } }
--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://556448]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found