The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
1234567891011121314 # -*- mode: perl; -*-use strict;use warnings;use Test::More tests => 2;use Math::BigRat precision => 42;is(Math::BigRat -> precision(), 42, 'Math::BigRat -> precision() is 42');is(Math::BigRat -> config("precision"), 42, 'Math::BigRat -> config("precision") is 42');
# -*- mode: perl; -*-
use
strict;
warnings;
Test::More
tests
=> 2;
Math::BigRat
precision
=> 42;
is(Math::BigRat -> precision(), 42,
'Math::BigRat -> precision() is 42'
);
is(Math::BigRat -> config(
"precision"
), 42,
'Math::BigRat -> config("precision") is 42'