Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Data::Dumper;
    my %x = map { $_ => [$_, sub {shift;}]} qw(a b c);
    print Dumper(\%x);
    
  2. or download this
    $VAR1 = {
              'a' => [
    ...
                       $VAR1->{'a'}[1]
                     ]
            };