Help for this page

Select Code to Download


  1. or download this
    $ perl match
           Rate orig   lc
    ...
    orig 1492/s   --  -8%
    lc   1627/s   9%   --
    
  2. or download this
    use strict;
    use Benchmark qw(cmpthese);
    ...
                    lc   => sub { lc $string =~ /$pattern/  },
                  }
             );