in reply to Re: strange arithmetic
in thread strange arithmetic
Had I simply used warnings (as suggested) I would not have come here - oh well...
With regard to "print" I always thought that if you use parenthesis around the arguments you should not have blanks between "print" and the opening parenthesis.
So in my ideal world Perl would distinguish between
print($whatever) and print ($whatever), treating the parenthesis in the first case as part of the print-call while in the second case as part of the expression to be printed.
But that of course is only my taste and might open another can of worms...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: strange arithmetic
by RonW (Parson) on Jan 09, 2015 at 22:44 UTC |