RCRPG/Raku: Difference between revisions
m
→Code: Update for stricter whitespace rules
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: GLR updates, edited works with) |
Thundergnat (talk | contribs) m (→Code: Update for stricter whitespace rules) |
||
Line 23:
As with the [[RCRPG/Perl|Perl version]].
==Code==
{{works with|Rakudo|
<lang perl6>my %commands;
my %rooms;
Line 67:
} else {
say "There are exits: {@$.links.join(', ')\
.subst(/','(<-[,]>+)$/, -> $/ {" and$0"})}.";
}
if $.stuff {
|