Help for this page

Select Code to Download


  1. or download this
    my %a = map { $a{$_} => 1 unless undef, 0..5 } 0..11;
    
  2. or download this
    my %a = map { 1 unless undef, 0..5 } 0..11;
    
  3. or download this
    use strict;
    use warnings; 
    ...
    #%a = map { $a{$_} , 1 unless undef, 0..5 } 0..11;
    %a = map { 1 unless undef, 0..5 } 0..11;
    print Dumper \%a;
    
  4. or download this
     
    Use of uninitialized value in range (or flip) at C:\gash.pl line 10.
    Use of uninitialized value in range (or flop) at C:\gash.pl line 10.
    ...
              '9' => 10,
              '5' => 6
            };