http://qs321.pair.com?node_id=1157560


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.