Help for this page

Select Code to Download


  1. or download this
    my $before = [qw(1 2 3 4 5 6 7 8 9 10)];
    my $after  = [qw(2 3 4 5 1 6 7 8 9 10)];
    
  2. or download this
    my $smallest = (sort {$a <=> $b} @array)[0];
    
  3. or download this
    my @array = (7,1,2,3,4,5,6,8,9);