rjbs / String-Formatter

build sprintf-like functions
3 stars 2 forks source link

bench.pl installed to `@INC` #2

Closed kentfredric closed 8 years ago

kentfredric commented 9 years ago

ExtUtils::MakeMaker due to hysterical raisins, installs *.pl into @INC.

You can demonstrate this trivially by performing the following anywhere it is installed:

perl -e 'require q[String/bench.pl] '
I like to eat apples and bananas.I like to eat apples and bananas.I like to eat apples and bananas.Benchmark: timing 100000 iterations of dlc, perl, rjbs...
       dlc:  1 wallclock secs ( 1.40 usr +  0.00 sys =  1.40 CPU) @ 71428.57/s (n=100000)
      perl:  0 wallclock secs ( 0.00 usr +  0.00 sys =  0.00 CPU)
            (warning: too few iterations for a reliable count)
      rjbs:  3 wallclock secs ( 3.13 usr +  0.00 sys =  3.13 CPU) @ 31948.88/s (n=100000)
rjbs commented 8 years ago

Thanks, fixed in git.