in reply to If 6 Was 9
It does: = is an assignment operator, and has higher precedence than comma , .
I haven't run your code, but I suppose it's just printing the JAPH phrase after assigning "Just" to 4 variables.
Since I'm using auto-indentation - which is emphasizing multi-line commands, I would have noticed your bug immediately.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
s/Yet/Just/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: If 6 Was 9
by LanX (Saint) on Oct 15, 2018 at 23:21 UTC |