in reply to auto add a carriage return in front of a line feed, how to delete this auto character.

Either:
binmode TARGET_FILE;
or:
open TARGET_FILE, '>:raw', $filename;
See also: binmode
  • Comment on Re: auto add a carriage return in front of a line feed, how to delete this auto character.
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: auto add a carriage return in front of a line feed, how to delete this auto character.
by xhsoldier (Initiate) on May 21, 2008 at 03:34 UTC
    All methods are works. that is great. thanks a lot, all.