in reply to Re^3: false warning: print (...) interpreted as function
in thread false warning: print (...) interpreted as function
Your suggestions are wrong.
$ perl -wle'print ((1))' print (...) interpreted as function at -e line 1. 1
Because I don't know what do three points ('...') mean and am thinking that a warning is unnecessary.
Ellipses are extremely commonly used in CS as a generic placeholder.
and am thinking that a warning is unnecessary.
The warning was indeed spurious in this case. It's there to catch the following error:
print (4+3)*2; # Expected to print 14, but prints 7
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: false warning: print (...) interpreted as function
by Athanasius (Archbishop) on Nov 07, 2015 at 05:58 UTC | |
by BrowserUk (Patriarch) on Nov 07, 2015 at 06:30 UTC | |
by AnomalousMonk (Archbishop) on Nov 07, 2015 at 06:20 UTC |