Help for this page

Select Code to Download


  1. or download this
    P:\test>273557.pl8
    14:     462
    ...
    84:     1318
    92:     382
    99:     315
    
  2. or download this
    P:\test>273557.pl8
    P:\test>273557.pl8
    ...
    84:     1318
    92:     382
    99:     315
    
  3. or download this
    P:\test>273557.pl8
    14:     462
    ...
    84:     1318
    92:     382
    99:     315
    
  4. or download this
    P:\test>273557.pl8
    14:     462
    ...
    84:     1318
    92:     382
    99:     315
    
  5. or download this
    P:\test>273557.pl8
    14:     462
    ...
    84:     1318
    92:     382
    99:     315
    
  6. or download this
    P:\test>273557.pl8
    14:     462
    ...
    84:     1318
    92:     382
    99:     315
    
  7. or download this
    #! perl -sw
    use strict;
    ...
    
    $t->stop('Using scalar grep to count occurances');
    $t->report;
    
  8. or download this
    #! perl -slw
    use strict;
    ...
    92:     382
    99:     315
         1 trial  of Building an using a lookup list (10.705s total)
    
  9. or download this
            time(s)    original    array/grep     lookup
      original    414.536        ----          -64%      -93%
    array/grep    149.685         177%          ----      -81%
        lookup     27.750     1394%          439%      ----
    
  10. or download this
        for my $entry ( @{ $X{$article} } ) {
    
  11. or download this
        for my $entry ( uniq @{ $X{$article} } ) {