The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
12345678910111213141516 # -*- mode: perl; -*-# check for cpan rt #121139use strict;use warnings;use Test::More tests => 2;use Math::BigRat;my $a = Math::BigRat->new('3/2');my $x = Math::BigRat->new('2/3');is("$a", "3/2");my $y = $a;$y = $x * $y;is("$a", "3/2");
# -*- mode: perl; -*-
# check for cpan rt #121139
use
strict;
warnings;
Test::More
tests
=> 2;
Math::BigRat;
my
$a
= Math::BigRat->new(
'3/2'
);
$x
'2/3'
is(
"$a"
,
"3/2"
$y
=
;
*