Help for this page

Select Code to Download


  1. or download this
    use List::MoreUtils qw[zip];
    
    ...
    
    Type of arg 1 to main::zip must be array (not single ref constructor) 
    +at 
    Type of arg 2 to main::zip must be array (not single ref constructor) 
    +at
    
  2. or download this
    use List::MoreUtils qw[zip];
    
    my %hash = zip @{[1..3]},@{['a'..'c']};