in reply to Re: print behavior
in thread print behavior
You're making the mistake of assuming Perl and C will behave the same on all systems. Statements like "This will print 110 for sure" and "In case of 'C' it will print 210 as expected." are wrong. The order in which the args are evaluated is not defined in either language. That's why it's harmful to modify a variable in a parameter list expression when the variable appears elsewhere in that parameter list.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: print behavior
by atemon (Chaplain) on Jul 12, 2007 at 03:17 UTC |