$num1=Math::BigInt->new("0x".$source);
Ah, I didn't know you could do that. The Math::BigInt manual page says:
Input Input values to these routines may be either Math::Big- Int objects or strings of the form "/^[+-]?[\d]+\.?[\d]*E?[+-]?[\d]*$/".
Abigail
In reply to Re: Bit by a Hex String
by Abigail-II
in thread Bit by a Hex String
by abitkin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |