The question is: "Is it a simple scalar, or is it an object?". Giving the output ikegami asked for could help a lot in resolving the problem.
Simple scalars behave as you expect. Objects can do whatever they like. Showing us sample that we can run and reproduce the issue would help - we could then try ikegami's test. That doesn't at all mean we want to see your application though, but just enough lines to reproduce the issue. See I know what I mean. Why don't you? for some tips that help in this situation.
In reply to Re^3: Getting different results with $var++ and $var += 1
by GrandFather
in thread Getting different results with $var++ and $var += 1
by splicer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |