in reply to Re: Page 18 of the Camel
in thread Inefficient code in Camel book?

I would have to agree here - @grades is a global array, so it gets created and allocated a single time. The list in the foreach on the other hand behaves more like my @grades would. I don't know much about perlguts either, but maybe that would be worth adding as a third benchmark to check?

Makeshifts last the longest.