in reply to Re^2: print statement changes results!
in thread print statement changes results!

The values return from $-[0]/$+[0] are integers stored in the IV part of the scalar.

Interpolating them in the print statement will have the side effect of forcing the PV slots to be populated with the stringified versions of those integers.

If the XS code that is behind this VShape object is only looking at the PV slot, that would explain why the print statement has the effect of making the code work.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.