A
Abhinav
Hi,
I have a sscript which reads in a set of lines from a windows text file,
and concatenates it and stores in a string.
I chomp the string after reading it, and do
$_ =~ s/^V<^Enter>//g; # i.e., I press cntrl -V and then cntrl - Enter
This does not seem to work and I still find ^M charactes when i wtite
the lines to a file.
What is the way to remove them ?
Thanks
AB
I have a sscript which reads in a set of lines from a windows text file,
and concatenates it and stores in a string.
I chomp the string after reading it, and do
$_ =~ s/^V<^Enter>//g; # i.e., I press cntrl -V and then cntrl - Enter
This does not seem to work and I still find ^M charactes when i wtite
the lines to a file.
What is the way to remove them ?
Thanks
AB