Re: How can I compare Bytes in a Binary File?

2007-06-22 Thread Dustin Ho
Awesome, thanks to all! chr() and ord() were exactly what I was looking for. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

How can I compare Bytes in a Binary File?

2007-06-22 Thread dustin . ho
Hi guys/gals, I'm having a bit of a problem and wondering if anyone can help. I've got a binary file here that I'm reading byte by byte and I'm trying to compare the raw binary data... but I'm running into problems with bytes without an ASCII representation. For example, if I'm looking for hex val