velusamy has asked for the wisdom of the Perl Monks concerning the following question:
The above code printing -15. Can any one explain how it is printing -15?use strict; use warnings; print -2**4+1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Confusion on ** operator
by davido (Cardinal) on Jan 10, 2009 at 07:02 UTC | |
by AnomalousMonk (Archbishop) on Jan 11, 2009 at 08:38 UTC | |
|
Re: Confusion on ** operator (poly)
by tye (Sage) on Jan 11, 2009 at 02:51 UTC | |
|
Re: Confusion on ** operator
by zentara (Cardinal) on Jan 10, 2009 at 14:35 UTC |