use tahash; my %hash = ( "Jan" => 1, "Feb" => 2, "Mar" => 3, ); my $val = tie(%hash,"tahash") or die "Can't tie : $!";