Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: two + 2 not equal 4!

by BrowserUk (Pope)
on Jul 24, 2010 at 03:00 UTC ( #851111=note: print w/replies, xml ) Need Help??


in reply to two + 2 not equal 4!

A couple of ways, (that amount to the same thing), to make it right:

use constant two => 2;; printf "two + 2 = %d\n", two + 2;; two + 2 = 4 sub two () { 2 };; printf "two + 2 = %d\n", two + 2;; two + 2 = 4

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://851111]
help
Chatterbox?
[Discipulus]: you value too much your soul LanX
[Eily]: LanX: you mean people end up losing their health insurance?
LanX could be a reference to Trump and/or Brexit ...
[LanX]: ... anyway getting a support call from food! Need to respond ... ;-)
LanX see you later

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-03-24 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (301 votes). Check out past polls.