Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    
    ...
    say "Positions of Lowest Value ($lowest) = @{$hash{$lowest}}";
    print 'The animal names are: ';
    print join ' ', map $names[$_], @{$hash{$lowest}};
    
  2. or download this
    Positions of Lowest Value (2) = 2 4
    The animal names are: Cow Rat