more useful options | |
PerlMonks |
Re: A somewhat unexpected side effect... (stringy)by tye (Sage) |
on Nov 21, 2006 at 16:06 UTC ( [id://585288]=note: print w/replies, xml ) | Need Help?? |
I'm not sure I understood the last half of your node, but, no, you don't get an "ordinary" increment just because a scalar looks like a number. But it can be hard to distinguish an ordinary (numeric) increment from a magic (stringy) increment in such a case. But here are a couple of examples that demonstrate the difference:
which produces (minus the comments, of course):
Hope that helps. - tye
In Section
Meditations
|
|