in reply to building a complex data structure

Your hash keys could just as well be array indexes. Using that,

my %lookup = ( site1 => [ (0) x 24 ], site2 => [ (0) x 24 ], # . . . );

After Compline,
Zaxo