Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: ** operator in perl

by Anonymous Monk
on Feb 03, 2009 at 08:21 UTC ( #740913=note: print w/replies, xml ) Need Help??


in reply to ** operator in perl

Hint, check with B::Deparse, even though constants get in the way
D:\>perl -MO=Deparse,-p -e " print -2 ** 4 + 1; " print((-15)); -e syntax OK
just substitute them variables, and you can see
D:\>perl -MO=Deparse,-p -e " print -$two ** $four + $one; " print(((-($two ** $four)) + $one)); -e syntax OK D:\>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://740913]
help
Chatterbox?
[Discipulus]: at 7th floor seagulls eat mice
[Discipulus]: just in Eataly: brain surgery while playing clarinet..
[erix]: installing perfect pitch?
[karlgoethebier]: ...good Hot tuna. Note the stacks & racks in the background

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2017-11-17 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?