http://www.perlmonks.org?node_id=384994


in reply to Re^2: Benchmark, -s versus schwartzian
in thread Benchmark, -s versus schwartzian

Well, I meant what I said in the answer. On my laptop, doing the glob inside the loop on 33 elements made the ST the winner.

But yes, suggesting that the filenames be captured once might make sense for the 2ed of the book.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.