Next: Arithmetic operations, Previous: Function calls, Up: Expressions [Contents][Index]
Concatenation operator is ‘.’ (a dot). For example, if
$f
is ‘smith’, and $client_addr
is
‘10.10.1.1’, then:
$f . "-" . $client_addr ⇒ "smith-10.10.1.1"
Any two adjacent literal strings are concatenated, producing a new string, e.g.
"GNU's" " not " "UNIX" ⇒ "GNU's not UNIX"