Current behaviour: $ ./viv -c -e '5.' ===SORRY!=== Decimal point must be followed by digit at (eval) line 1: ------> 5.⏏<EOL> Unsupported use of . to concatenate strings; in Perl 6 please use ~ at (eval) line 1 (EOF): ------> 5.⏏<EOL> Parse failed
$ perl6 -e '5. ' ## note the whitespace after the dot ===SORRY!=== Decimal point must be followed by digit at -e:1 ------> 5.⏏ Unsupported use of . to concatenate strings; in Perl 6 please use ~ at -e:1 ------> 5. ⏏<EOL> So far so good. There is still a problem when there is no whitespace after the dot: $ perl6 -e '5.' ===SORRY!=== Error while compiling -e Missing semicolon. at -e:1 ------> 5.⏏<EOL> Adding a semicolon looks gives one good and and strange error message: $ ./perl6-m -e '5.;' ===SORRY!=== Decimal point must be followed by digit at -e:1 ------> 5.⏏; Missing semicolon. at -e:1 ------> 5.⏏;