If you run your program with warnings enabled, Perl will tell you that 00A0 (for example) does not look like a number, but is used with the numeric compare ("==") operator. Most likely you want to use the string compare operator, eq.
In reply to Re: perl unpack and matching the unpacked data
by Corion
in thread perl unpack and matching the unpacked data
by james28909
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |