in reply to Using special characters in left part of a regex match?
$var[$j] =~ s/\.\.\./\.\+/g;
The right half of an s/// substitution is not a regex, but a mere string. So if you want to construct .+ in the replacement, you need to write it as .+ and not at \.\+.
In Section
Seekers of Perl Wisdom