Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-08-19 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (311 votes). Check out past polls.

    Notices?