Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
    push @params, shift(@array1) . ':' . shift(@array2) while @array1;
    
    print join(',', @params), "\n";
    
  2. or download this
    22:16 >perl 977_SoPW.pl
    red:black,blue:orange,green:white
    
    22:20 >
    
  3. or download this
    #! perl
    use strict;
    ...
    dd \@array1;
    dd \@array2;
    print join(',', @params), "\n";
    
  4. or download this
    23:51 >perl 977_SoPW.pl
    ["red", "blue", "green"]
    ...
    red:black,blue:orange,green:white
    
    23:51 >