You want to do two things:
1. match/replace something
2. match/replace something else
To do this in one command you need:
* `:g` to tell P6 to keep going after the first match
* `||` to tell P6 to match what's on the left first, or if that fails,
what's on the right
Which yields:
my $x="
TL;DR Imo, one of Perl 6's notable strengths is its approach to its
specification. Imo companies will love it. I can see it becoming a
primary tool for driving P6 forward in just the right way.
Steve has already answered with the short version of some of what I
say below, and I agree with wh