1*eac174f2Safresh1# -*- mode: perl; -*- 2b8851fccSafresh1 3b8851fccSafresh1# use Module(); doesn't call import() - thanx for cpan testers David. M. Town 4b8851fccSafresh1# and Andreas Marcel Riechert for spotting it. It is fixed by the same code 5b8851fccSafresh1# that fixes require Math::BigInt, but we make a test to be sure it really 6b8851fccSafresh1# works. 7b8851fccSafresh1 8b8851fccSafresh1use strict; 9b8851fccSafresh1use warnings; 10b8851fccSafresh1 11b8851fccSafresh1use Test::More tests => 1; 12b8851fccSafresh1 13b8851fccSafresh1my $x; 14b8851fccSafresh1 15b8851fccSafresh1use Math::BigInt (); 16b8851fccSafresh1$x = Math::BigInt->new(1); 17b8851fccSafresh1++$x; 18b8851fccSafresh1 19b8851fccSafresh1is($x, 2, '$x = Math::BigInt->new(1); ++$x;'); 20