Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: delete FF's from a file

by Lotus1 (Curate)
on Feb 11, 2013 at 15:25 UTC ( #1018163=note: print w/replies, xml ) Need Help??


in reply to delete FF's from a file

i have this file in binmode (its hex bin)...

This is a common source of confusion that people think processors use hexidecimal internally. The processor uses binary and the file is in binary. Hexidecimal is a representation shown on the screen or in a string, etc. that is easier for humans to use than binary. Searching for 'FF's in a binary file is not what you want. You want the binary value represented by the hex number 'FF'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018163]
help
Chatterbox?
[Corion]: ambrus: Yeah, I read that, but it's somewhat vague as in what I really have to implement, and where/how my "other" mainloop should/needs to call AnyEvent
[Corion]: (or maybe I just work better from existing code that I munge until it works and I understand it rather than a short abstract text like "implement everything that's needed" ;) )
[ambrus]: Corion: I think in this case you can get away with only a stub for idle, one that always dies when you create it, because AnyEvent::HTTP doesn't use it, not even indirectly through AnyEvent::Handle or AnyEvent::Socket or AnyEvent::DNS.
[Corion]: The "and I understand it" part is optional.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2016-12-08 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (141 votes). Check out past polls.