in reply to Benchmark cmpthese() removing '.' char from input param

The code gets evalled, so you need quotes:
p_read => "p_read('$fname')",
Otherwise you get the bareword 'a' concatenated with the bareword 'txt'.

Dave.

Replies are listed 'Best First'.
Re^2: Benchmark cmpthese() removing '.' char from input param
by stevieb (Canon) on Mar 12, 2016 at 16:16 UTC

    D'oh! Of course :) Thanks guys!

    -stevieb