Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Operators: arithmetic and otherwise

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

Help for this page

Select Code to Download


  1. or download this
    $a=2;
  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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found