Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print 'The position(s) of ', $array1Min, ' in @array1: ', "$positions.
    +\n";
    
    print 'The element(s) in @array2 at position(s) ', "$positions: $eleme
    +nts.";
    
  2. or download this
    The minimum value in @array1 is 1.
    The position(s) of 1 in @array1: 2, 4.
    The element(s) in @array2 at position(s) 2, 4: c, e.