I don't understand the format of the data you've posted. But, assuming that by "binary", you really do mean binary, and not some ascii-encoded hex representation of the original binary, then the solution to your problem is vec.
my $binaryString = ...; if( vec( $binaryString, 123, 1 ) == 1 ) { ## bit 123 was set } else { ## it wasn't }
In reply to Re: Working with BIG binary fields
by BrowserUk
in thread Working with BIG binary fields
by juju
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |