Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Operators: arithmetic and otherwise

by lvanhout (Curate)
on Jun 15, 2004 at 03:10 UTC ( #366752=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
  2. or download this
    print $a+$b   #arithmetic operator prints 5
    print $a.$b   #string operator prints 2 plus the three or 23
    print $a*$b   #arithmetic operator prints 6
    print $a x $b #string operators prints $a $b times or 2 three times. i
    +e 222

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://366752]
[stevieb]: for the first time ever, I will have 100% of the documentation and unit tests written for a new distribution before writing even a single character of the C or Perl code required :)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (17)
As of 2017-01-20 16:40 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (176 votes). Check out past polls.