Subject: | Please remove unnecessary string concatenation on variable instantiation |
In Text::Similarity::Overlaps in line 168 and 169, variables are initially instantiated using the string concatenation operator instead of the assignment operator.
I investigated a bit because I found it uncommon. There seems to be no difference in writing the equals operator or the string concatenation.
So, to improve the readability of the source code, could you please change line 168 & 169 to use the assignment operator "=" ?
Cf. the relevant code here: https://metacpan.org/source/TPEDERSE/Text-Similarity-0.10/lib/Text/Similarity/Overlaps.pm#L168
Extract:
my $str1 .= $self->sanitizeString ($input1);
my $str2 .= $self->sanitizeString ($input2);
Should be:
my $str1 = $self->sanitizeString ($input1);
my $str2 = $self->sanitizeString ($input2);