Read a configuration file: Difference between revisions

m
→‎{{header|Raku}}: .perl -> .raku
m (→‎{{header|Raku}}: .perl -> .raku)
Line 3,945:
=={{header|Raku}}==
(formerly Perl 6)
{{Worksworks with|rakudoRakudo|20182020.0308.1}}
 
 
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.perlraku;</lang>
{{out}}
<pre>fullname: Foo Barber
2,392

edits