to%hash = ( $unit_num => { $event_nm => [ $event_date ], }, ); @HoH{keys %hash} = values %hash
push @{$HoH{$unit_num}{$event_nm}}, $event_date;
In reply to Re: Using a hash to store complex data
by Anonymous Monk
in thread Using a hash to store complex data
by TJRandall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |