learning-perl6/ch4/ex4-6.raku
2023-11-23 08:26:32 -08:00

6 lines
120 B
Raku

sub MAIN (
$my-string #= String to count characters/display
) {
say "$my-string has {$my-string.chars} characters";
}