> On 7 Sep 2025, at 20:31, Marc Chantreux <m...@unistra.fr> wrote: >>> with "example.txt".IO.slurp { >>> s/Hello/Hi/; >>> .spurt: $filename; >>> } >> >> Now *that* I find to be an interesting idea. The oneliner would then become: >> >> "example.txt".IO.slurp.subst("Hello","Hi").spurt($filename) >> >> which has a nice left-to-right feel. > > Which would be indeed my syntax of choice.
Now a PR: https://github.com/rakudo/rakudo/pull/5949