Help for this page

Select Code to Download


  1. or download this
    package items;
    use strict;
    ...
        eval ("$items{3}{Value} = 2;");            # ERROR: Use of uniniti
    +alized value in concatenation (.) or string at items.pm line 16.  (th
    +is line)
        print( Data::Dumper->Dumpxs( [ \ %items ], [ qw{ *items } ] ));
    }
    
  2. or download this
    %items = (
               '1' => {
    ...
                        'Value' => 2
                      }
             );