in reply to
chomp ^M ?
This may not be a perl soluition but check if your system has
dos2unix
or
d2u
these utilities convert CRLF to LF. Read the
man dos2unix
or
man d2u
pages to see how to use them.
--
flounder
Comment on
Re: chomp
Select
or
Download
Code
Replies are listed 'Best First'.
Re: Re: chomp
by
YuckFoo
(Abbot)
on Jun 16, 2003 at 18:33 UTC
For a Perl solution, see the
nlcvt
utility on the
Perl Power Tools
page.
YuckFoo
[reply]
In Section
Seekers of Perl Wisdom