Help for this page

Select Code to Download


  1. or download this
    perl -Mstrict -MList::Util=min,max -E '
    my @test_array = (3,6,,7,6,3,10,5,6,2, 10);
    say "Min: " . min @test_array; say "Max: " . max @test_array;
    '
    
  2. or download this
    Min: 2
    Max: 10