in reply to Multiple Hashes are stressing me
%hash1 = qw(
2 cars
1 motorcycle
4 balloons
);
%hash2 = qw(
5 airplanes
3 helicopters
6 skateboards
);
%hash3 = ( %hash1, %hash2 );
for (sort keys %hash3) {
print "$_ => $hash3{$_}\n";
}
|
|---|