Help for this page

Select Code to Download


  1. or download this
    my @array1 = (3,4,6,5,8);
    my @array2 = (2,2,4,5,1);
    
  2. or download this
    my @array1 = (3,4,6,5,8,2,2,4);
    my @array2 = (5,1);
    
  3. or download this
    @array1,@array2
    
  4. or download this
    (3,4,6,5,8,2,2,4,5,1)
    
  5. or download this
    c:\>perl -le "use List::MoreUtils qw/pairwise/; @a=(1..5);@b=(11..15);
    + print for pairwise {$a+$b} @a, @b"
    12
    ...
    5
    11
    12