use Number::Fraction ':constants'; my $half = '1/2'; print ref $half; # prints Number::Fraction my $x = '1/4' + '1/3'; print $x; # prints 7/12 $x += '1/12'; print $x; # prints 2/3
[Title Page]
[TOC]
[Prev]
[Next]
Page 30 of 31