in reply to (tye)Re: If / elses
in thread If / elses
The parens fix is easy to see. But the '+'? Is it that the compiler seeks something to add to void? And than encounters the ternary? Alternatively, if my list-context-gut-feeling ;-) is correct, it would force a scalar context to the $foo==1, preventing the print's greedy behavior. In that cause, the '+' could be replaced by a '.', isn't it?
Cheers,
Jeroen
"We are not alone"(FZ)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: If / elses
by tye (Sage) on Mar 13, 2001 at 19:59 UTC |