I don't really have experience with bit operations (in general and in Perl), but I remember a Perl function named vec which may help you.
In reply to Re: Selecting certain bits from a TCP header
by linuxer
in thread Selecting certain bits from a TCP header
by rspishock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |