- or download this
check_limit( +{ one => 1, two => 2 });
- or download this
sub check_limit {
my %happyhash = @_;
...
my $num = keys %happyhash;
print "Hash: happyhash has $num keys\n";
}
- or download this
sub check_limit {
my %happyhash = %{$_[0]};
...
my $num = keys %happyhash;
print "Hash: happyhash has $num keys\n";
}