Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my %hash = map { /\D/ ? ($_ => $ref = []) : (push @$ref, $_) x 0 } @ar
    +ray;
    
    pp \%hash;
    
  2. or download this
    { a => [1 .. 4], b => [6, 7, 8] }