4 ms·
Perl uses separate operators for mathematical addition and string concatenation. 1 + 1 == 2; 1 . 1 eq 11; It uses separate operators for most mathematica
by colonelguy 11y ago
Perl uses separate operators for mathematical addition and string concatenation.
1 + 1 == 2;
1 . 1 eq 11;
It uses separate operators for most mathematical and string operations, for that matter. There isn't much of a meaningful difference between strings and numbers in Perl -- it converts between then depending on the operation.