Help for this page

Select Code to Download


  1. or download this
    use strict;
    my (%hash,@array);
    $hash{A}='B';
    push @array,\%hash;
    
  2. or download this
    x @array
    0  HASH(0x300331c4)
       'A' => 'B'
    
  3. or download this
    $hash{B}='C';
    push @array, \%hash;
    
  4. or download this
    x @array
    0  HASH(0x300331c4)
       'A' => 'C'
    1  HASH(0x300331c4)
       -> REUSED_ADDRESS
    
  5. or download this
    use strict;
    my (%hash,@array);
    ...
    my (%hash);
    $hash{A}='C';
    push @array, \%hash;
    
  6. or download this
    x @array
    0  HASH(0x30033194)
       'A' => 'B'
    1  HASH(0x3015f4e0)
       'A' => 'C'