![]() |
|
"be consistent" | |
PerlMonks |
Re: problem with extra lines when usingby chipmunk (Parson) |
on Aug 14, 2001 at 19:55 UTC ( #104821=note: print w/replies, xml ) | Need Help?? |
I suspect that you have "\r\n" line-endings, and somewhere along the way the \r is turning into an extra newline.
So, just s/\r\n/\n/g; before doing anything with the data, and you should be okay.
In Section
Seekers of Perl Wisdom
|
|