Just another Perl shrine | |
PerlMonks |
Re: Typo or on purpose? Variable instantiation with string concatenation operatorby ikegami (Patriarch) |
on Oct 06, 2015 at 15:23 UTC ( [id://1143934]=note: print w/replies, xml ) | Need Help?? |
will do the same thing as
but it makes no sense to use the former. The benchmarks show no difference in speed. (Anything under 1% is definitely meaningless. I question anything under 5%. I used kennethk's code, but changed timethese to cmpthese to produce more useful output, and changed the label to something meaningful.)
In Section
Seekers of Perl Wisdom
|
|