Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Data::Dumper;
    ...
    $x = { %$x, %$y };
    print Dumper($x);
    
  2. or download this
    $VAR1 = { 'c' => 3,
              'a' => 1,
    ...
                        'bbb' => 11
                      }
            };
    
  3. or download this
    use Hash-Dumper qw/merge/;
    
  4. or download this
    $x = { %$x, %$y };
    
  5. or download this
    $x = merge( $x, $y );
    
  6. or download this
    $VAR1 = {
              'c' => 3,
    ...
                        'aaa' => 11
                      }
            };