1.
Yes.
2.
my ($hex) = $string =~ /\b(0x[0-9a-fA-F]+)\b/;
(then do hex($hex) if you want the value as a number)
In reply to Re: Bit operation
by Anonyrnous Monk
in thread Bit operation
by toren
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |