1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!perl # check that simple requiring BigRat works use strict; use warnings; use Test::More tests => 1; my ($x); require Math::BigRat; $x = Math::BigRat->new(1); ++$x; is($x, 2, '$x got successfully modified'); # all tests done