Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use Data::Dumper;
    ...
    $foo{+length} = 42;
    $foo{length} = 'interminable';
    print Dumper \%foo;
    
  2. or download this
    Use of uninitialized value $_ in hash element at test.pl line 5.
    $VAR1 = {
              '' => 42,
              'length' => 'interminable'
            };