$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 reply to Re: In my perl script one of the variable it is giving an extra dot.
by ikegami
in thread In my perl script one of the variable it is giving an extra dot.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |