I would like to check if a byte in Perl is set to 0xFF.
I can do this to check it now:
unpack('C', $byte) == 255
But it seems like that wouldn’t be the correct or most efficient way of doing this. Is there a shorthand notation for checking this that might be faster?
What about simple?