Help for this page

Select Code to Download


  1. or download this
    # 3 IPC trips:  FETCH, FETCH, STORE
    $t{$name}->{r}++;
    ...
    # 6 IPC trips: FETCH, FETCH, FETCH, FETCH, FETCH, STORE
    $t{index}->{ $t{prev} }{ $t{cur} }++;
    
  2. or download this
    # 2 IPC trips: FETCH, STORE
    $t{ "$name-rg" }++;
    ...
    my $cur  = $t{cur};
    $t{ "index-$prev-$cur" }++;
    
  3. or download this
    my $mutex  = Mutex->new;
    ...
    ...
        $sleep_inside->();
    };
    
  4. or download this
    $ diff orig.pl script.pl
    2a3,19
    ...
    >        [ "\$_->{ prev  } = 'rgy'"  ]
    >     );
    
  5. or download this
    $VAR1 = {
              'cur' => 'ry',
    ...
                         }
            };
    
  6. or download this
      # print Dumper( tied(%t)->export( { unbless => 1 } ) ) if ($STATS);
    
        my %h = %{ tied(%t)->export({ unbless => 1 }) };  untie %t;
        print Dumper(\%h) if $STATS;