merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
binmode(TXTIN); binmode(UNIXOUT); while(defined($linein = <TXTIN>)) { chomp($linein); print UNIXOUT "$linein\012"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing a UNIX text line - the end character challenge
by SuicideJunkie (Vicar) on Aug 11, 2010 at 13:28 UTC | |
by merrymonk (Hermit) on Aug 11, 2010 at 13:39 UTC | |
by SuicideJunkie (Vicar) on Aug 11, 2010 at 13:56 UTC | |
by merrymonk (Hermit) on Aug 11, 2010 at 14:04 UTC | |
by JavaFan (Canon) on Aug 11, 2010 at 15:33 UTC |