Read a configuration file: Difference between revisions
Content added Content deleted
m (Comment cleanup) |
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Update to modern code. A little stricter about proto regex syntax) |
||
Line 2,955: | Line 2,955: | ||
=={{header|Perl 6}}== |
=={{header|Perl 6}}== |
||
{{Works with|rakudo| |
{{Works with|rakudo|2018.03}} |
||
Line 2,978: | Line 2,978: | ||
} |
} |
||
proto token line() |
proto token line() {*} |
||
token line:misc { {} (\S+) { die "Unrecognized word: $0" } } |
token line:misc { {} (\S+) { die "Unrecognized word: $0" } } |