in reply to Getting a Hash Name
print "Hash: hash1" check_limit(\%hash1); sub check_limit { my $hname = $_[0]; my $num = 0; for (keys %{$hname}) { $num++ }; print " has $num keys\n"; } [download]