in reply to Re^10: Snarky comments on the ddj perl quiz (hijack, pvnv memory)
in thread Snarky comments on the ddj perl quiz
Ahh, I see. In the first example the length is known because "1.1" is a constant so storing it can be optimized while in the second example "$x" to evaluated at runtime.