in reply to Re^2: Getting different results with $var++ and $var += 1
in thread Getting different results with $var++ and $var += 1
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Getting different results with $var++ and $var += 1
by splicer (Novice) on Dec 03, 2008 at 22:05 UTC | |
by syphilis (Archbishop) on Dec 03, 2008 at 23:29 UTC | |
by splicer (Novice) on Dec 04, 2008 at 00:23 UTC | |
by syphilis (Archbishop) on Dec 04, 2008 at 01:30 UTC |