Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: remove bad characters

by chrism01 (Friar)
on Jun 26, 2007 at 22:53 UTC ( [id://623504]=note: print w/replies, xml ) Need Help??


in reply to remove bad characters

You may want to use binmode http://perldoc.perl.org/functions/binmode.html when reading the file also.

Cheers
Chris

Replies are listed 'Best First'.
Re^2: remove bad characters
by ferreira (Chaplain) on Jun 27, 2007 at 11:18 UTC

    Just a note: Using binmode may be important for the sake of portability. Because if you're using only Unix, it is a no-op.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-26 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found