in reply to Benchmark cmpthese() removing '.' char from input param
The code gets evalled, so you need quotes:
Otherwise you get the bareword 'a' concatenated with the bareword 'txt'.p_read => "p_read('$fname')",
Dave.
In Section
Seekers of Perl Wisdom