At 11:02 AM +0000 6/26/05, [EMAIL PROTECTED] (via RT) wrote:
# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #36389]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36389 >
This is a bug report for perl from [EMAIL PROTECTED],
generated with the help of perlbug 1.35 running under perl v5.8.6.
-----------------------------------------------------------------
[Please enter your report here]
print (2*16)*16;
delivers the result 32
I found this in several versions of perl
5.8.7 (Windows)
5.8.6 (AIX)
$ perl -MO=Deparse -e 'print (2*16)*16'
print(32) * 16;
or in other words: you're printing "32" and multiplying the result with 16.
$ perl -Mwarnings -e 'print (2*16)*16'
print (...) interpreted as function at -e line 1.
Useless use of multiplication (*) in void context at -e line 1.
Always use warnings!
Liz