Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    @tmp{@array2} = @array3;
    @hash{@array1} = map +{ $_ => $tmp{$_} }, @array2;
    print Dumper \%hash;
    
  2. or download this
    $VAR1 = {
              'A' => {
    ...
                       '2' => 'b'
                     }
            };
    
  3. or download this
    my %hash2;
    for my $i (0 .. $#array1) {
        $hash2{ $array1[$i] }{ $array2[$i] } = $array3[$i];
    }
    
  4. or download this
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord
    }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,