in reply to Re: HTML::Template Loop Question
in thread HTML::Template Loop Question
Here is some code to munge that data into what HTML::Template needs:my %state = ( Alaska => ["Joe Blow", "Peter Tork"], California => ["Lily White","Erik Svendater"], Florida => ["Fred Flinstone", "Barney Rubble", "Judy Jetson"], );
my @state = [ map { state => $_, people => [ map {person => $_}, @{$state{$_}} ], }, sort keys %state ];
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|