#!/usr/bin/perl use strict; use warnings; my %h1 = ( a=>1, b=>2, c=>3 ); my %h2 = ( a=>3, b=>2, d=>4, e=>5 );