Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    print 'The element in @array2 at position ', $array1Min, ' is ',
      $hash{ min @array1 }, '.';
    
  2. or download this
    The minimum value in @array1 is 1.
    The position of 1 in @array1 is 4.
    The element in @array2 at position 1 is e.