Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

RE: Operators: arithmetic and otherwise

by Falthor (Initiate)
on Jun 02, 2000 at 02:52 UTC ( #15920=note: print w/replies, xml ) Need Help??

in reply to Operators: arithmetic and otherwise

$a=2; $a=3; 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. ie 222 Shouldn't there be end of lin characters on the end of lines 3-7 ?


  • Comment on RE: Operators: arithmetic and otherwise

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://15920]
[Lady_Aleena]: Well, just go to source or raw and look over the pod, it may be in there.
[Lady_Aleena]: I recently found perldoc and get a warm fuzzy when I read a POD I wrote as if it were a real offical thing.
[atcroft]: Lady_Aleena: I know that they used the L<text|url> syntax to link to them, but I was wondering if there was a more "standard" way (for instance, if the L<module_name> syntax might work better).
[Lady_Aleena]: atcroft, I"m trying to think of a module I've used that linked to another module.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-05-27 04:09 GMT
Find Nodes?
    Voting Booth?