At 6:31 PM -0400 9/4/03, Carl Friedberg wrote:
>Mark, I can explain number 1 by precedence and the results from number
>2, which, however I can not explain, nor understand. Here's a simpler
>example of number 2:
>
>$ perl -e "print (2)*5;"
>2

I think John's explanation applies here as well.  With warnings enabled:

$ perl -we "print (2)*5;"
print (...) interpreted as function at -e line 1.
Useless use of multiplication (*) in void context at -e line 1.
2

-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to