in reply to Re^2: Trash in my prints
in thread Trash in my prints
Whaaaa?
You're leaving something out here. \0a (or 0xaH) is a line feed or EOL character. You must have something out there emitting an extra EOL.
If $text represents the slurped in file and you do a chomp ($line) you should eliminate the EOL character.
What platform are you running on and what platform did the files come from? I know that WinBloze adds extra \0a characters on normal text files and if you try reading them in Unix it will appear as extra EOLs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Trash in my prints
by Anonymous Monk on Aug 18, 2011 at 20:30 UTC | |
by blue_cowdawg (Monsignor) on Aug 18, 2011 at 20:33 UTC |