Help for this page

Select Code to Download


  1. or download this
    my $x;
    for (1..3) {
       $h{hashslice} = \$x;
       print(Internals::SvREFCNT($x), "\n");
    }
    
  2. or download this
    2
    2
    2
    
  3. or download this
    my $x;
    my @a; for (1..3) {
    ...
       print(Internals::SvREFCNT($x), "\n");
       push @a, $h{hashslice};
    }
    
  4. or download this
    2
    3
    4
    
  5. or download this
    if (!(sv = hv_store(...))) {
       SvREFCNT_dec(sv);
       ...
    }