Help for this page

Select Code to Download


  1. or download this
    my $y = { foo => "bar" };
    my $X = { a => $y, b => $y, c => $y };
    ...
    $Data::Dumper::Deepcopy = 1;
    
    print Dumper($X);
    
  2. or download this
    $VAR1 = {
              'c' => {
    ...
                       'foo' => 'bar'
                     }
            };
    
  3. or download this
    $VAR1 = {
              'c' => {
    ...
              'a' => $VAR1->{'c'},
              'b' => $VAR1->{'c'}
            };