http://www.perlmonks.org?node_id=981945


in reply to Re^2: Extra Long HEX to Decimal Converion Issue on Select Platforms
in thread Extra Long HEX to Decimal Converion Issue on Select Platforms

Curiously, this works, too:

my $n = Math::BigInt->new('0x3BFA281009296F2'); my $manufacturer = sprintf "%010s", $n;

So the temp variable $n can be eliminated:

my $manufacturer = sprintf "%010s", Math::BigInt->new('0x3BFA281009296F2');

I didn't test this on multiple platforms. I'm only pointing it out because I noticed an allusion to it in the Math::BigInt documentation.

Jim