in reply to In my perl script one of the variable it is giving an extra dot.
$file =~ s{.}{}g does not do what you say. . means "a character that's not a line feed", so that removes every character that's not a line feed from the string in $file.
|
---|
In Section
Seekers of Perl Wisdom