Help for this page

Select Code to Download


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