snafu with MAIN arg descriptions getting printed

This commit is contained in:
drudge 2023-11-16 08:00:47 -08:00
parent f12da1bc9b
commit 331f3ed17c

9
ch3/ex3-4.raku Normal file
View file

@ -0,0 +1,9 @@
# Take a decimal number and display it as a fraction.
# Show the numerator and denominator
use v6.d;
sub MAIN (
Rat $num, #=A decimal number to turn into a fraction
) {
say "Fractional value is {$num.numerator}/{$num.denominator}";
}