Once you have read your string, you could then use @bytesFromFile = unpack'C*',$string; to allow you to compare them byte by byte.
Alternatively, you could $stringFromBytes = pack'C*', @myValues; and the use any of perl's usual string comparison methods.
Without seeing your code that's failing, or a better description of your application, it's hard to see how to help you further.
In reply to Re: Comparing the bytes of a file
by BrowserUk
in thread Comparing the bytes of a file
by Monolith-0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |