Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: ** operator in perl

by Random_Walk (Parson)
on Feb 03, 2009 at 12:55 UTC ( #740976=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [me@ptmr]/home/me$ perl -le 'print   -2  ** 4 ' # ** binds before -
    -16
    ...
    -2
    [me@ptmr]/home/me$ perl -le 'print ((-2) ** 4)' # parenthesis force wh
    +at I want
    16
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://740976]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2014-09-19 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (140 votes), past polls