On Tue, Sep 19, 2017 at 2:43 PM, Timo Paulssen <t...@wakelift.de> wrote: > perl6 -e '.perl.say for "hello, how, are, you".split(",").map: -> $_ > is copy { s:g/a//; s:g/^ \s|\s $/O/; $_ }' > "hello" > "Ohow" > "Ore" > "Oyou"
Thanks. Out of cursiosity: what is the diffence between using "is copy" and "<->"? Seems to me the map example can work with both. Luca