Read a configuration file: Difference between revisions
m
→{{header|Raku}}: .perl -> .raku
SqrtNegInf (talk | contribs) m (→{{header|Raku}}: .perl -> .raku) |
|||
Line 3,945:
=={{header|Raku}}==
(formerly Perl 6)
{{
This demonstrates several interesting features of Raku, including full grammar support, derived grammars, alternation split across derivations, and longest-token matching that works across derivations. It also shows off Raku's greatly cleaned up regex syntax.
<lang perl6>my $fullname;
Line 3,998 ⟶ 3,996:
say "needspeeling: $needspeeling";
say "seedsremoved: $seedsremoved";
print "otherfamily: "; say @otherfamily.
{{out}}
<pre>fullname: Foo Barber
|