in reply to How do I get rid of the cr/lf
Can we please see (simplified) code and sample data. It's hard to know what the problem is from your description. "chomp" should remove whatever is the line end character on your system, but you might be being burned by cross-platform portability issues.
Have you tried something like s/\012|\015//?
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I get rid of the cr/lf
by just dave (Acolyte) on Aug 22, 2006 at 13:42 UTC | |
by davorg (Chancellor) on Aug 22, 2006 at 14:08 UTC | |
|
Re^2: How do I get rid of the cr/lf
by gri6507 (Deacon) on Aug 22, 2006 at 13:39 UTC |