- or download this
push @{$subjects{$subject}}, %info;
- or download this
push @{$subjects{$subject}}, \%info;
print "email: " . $subjects{$subject}->[0]->{email};
- or download this
foreach my $key (sort (keys %subjects)){
print "\n\nKEY = $key";
print "\nSize of Array = " . scalar @{$subjects{$key}};
}