Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: delete FF's from a file

by Anonymous Monk
on Feb 11, 2013 at 09:47 UTC ( #1018120=note: print w/replies, xml ) Need Help??


in reply to Re^2: delete FF's from a file
in thread delete FF's from a file

FWIW, you should binmode if you want to treat your binary files as binary ( no newline translation )

with open it would be  open my($infile), '<:raw', ... or die ...

While you're in a learning mood, get a free copy of Modern Perl book, a loose description of how experienced and effective Perl 5 programmers work....You can learn this too.</b.

Replies are listed 'Best First'.
Re^4: delete FF's from a file
by james28909 (Chaplain) on Feb 11, 2013 at 09:56 UTC
    yes yes, i did use binmode. thanks for the tips as well :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018120]
help
Chatterbox?
[Your Mother]: Most health insurance will cover that.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-11-23 17:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (336 votes). Check out past polls.

    Notices?