--- CBOR-XS/XS.pm 2016/04/25 21:44:13 1.56 +++ CBOR-XS/XS.pm 2016/04/25 21:57:57 1.57 @@ -1112,12 +1112,12 @@ 2 => sub { # pos bigint require Math::BigInt; - Math::BigInt->from_hex ("0x" . unpack "H*", pop) + Math::BigInt->new ("0x" . unpack "H*", pop) }, 3 => sub { # neg bigint require Math::BigInt; - -Math::BigInt->from_hex ("0x" . unpack "H*", pop) + -Math::BigInt->new ("0x" . unpack "H*", pop) }, 4 => sub { # decimal fraction, array