The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more
12345678910111213 # -*- mode: perl; -*-# check that requiring Math::BigRat and then calling new() worksuse strict;use warnings;use Test::More tests => 1;require Math::BigRat;my $x = Math::BigRat -> new(2);is($x, '2', '$x is 2');
# -*- mode: perl; -*-
# check that requiring Math::BigRat and then calling new() works
use
strict;
warnings;
Test::More
tests
=> 1;
require
Math::BigRat;
my
$x
= Math::BigRat -> new(2);
is(
,
'2'
'$x is 2'
);