There's more than one way to do things | |
PerlMonks |
Re: Re: Re: Re: Removing the ^M character, but also removing the newlineby steves (Curate) |
on Dec 30, 2001 at 03:05 UTC ( [id://135168]=note: print w/replies, xml ) | Need Help?? |
Almost forgot. I wrote this simple dos_chomp function for cases where there may or may not be a CR (^M) before the LF. Enjoy!
In Section
Seekers of Perl Wisdom
|
|