This test causes segfault on Windows XP. Math::BigInt 1.89_01.
#!perl
use strict;
use warnings;
use Math::BigInt try => 'GMP';
use Test::More tests => 1;
diag( 'Tried GMP. Got ' . Math::BigInt->config()->{ lib } . ' ' .
Math::BigInt->config()->{ lib_version });
is(Math::BigInt->config()->{ lib }, 'Math::BigInt::GMP');
my $big_number = Math::BigInt->from_hex('0x' . 'f' x 32);
This causes errors in Net::IPAddress::Util (see
http://community.livejournal.com/perldev/13824.html).
--
Alexandr Ciornii, http://chorny.net