http://qs1969.pair.com?node_id=11144204


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.