Help for this page

Select Code to Download


  1. or download this
    my @keys = grep /^t/, keys %hash;
    my %newhash;
    @newhash{@keys} = @hash{@keys};
    
  2. or download this
    #!perl -w
    
    use strict;
    ...
    just_map   399/s         --        -3%        -3%
    grep_map   412/s         3%         --        -0%
    grep_slice 413/s         4%         0%         --