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 value 58 its fine, because I can just read a byte and
see if ($byte eq "X") since 58 is X in ASCII. What if I want to search
for ff or c6 or something which has no ASCII representation?

Thanks!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to