Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by Util (Priest)
on May 21, 2008 at 03:12 UTC ( [id://687704]=note: print w/replies, xml ) Need Help??


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

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://687704]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-28 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found