CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1457
content-type: text/html; charset=utf-8
last-modified: Sun, 12 Oct 2025 18:28:46 GMT
traceparent: 56c004795682ab57ef8bf1314e69b987
strict-transport-security: max-age=15768000
Re: the new raku.org is really beautiful (and tought about spurt) - nntp.perl.org
Front page | perl.perl6.users |
Postings from September 2025
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About

Re: the new raku.org is really beautiful (and tought about spurt)
Thread Previous | Thread NextFrom:
Elizabeth MattijsenDate:
September 8, 2025 09:36Subject:
Re: the new raku.org is really beautiful (and tought about spurt)Message ID:
DA8A31D5-5412-4D20-85B9-225111A1B204@dijkmat.nl> On 8 Sep 2025, at 11:29, Marc Chantreux <mc@unistra.fr> wrote: > so my dream would be to write liz's example close to this: > > "example.txt".IO.slurp > .&{ g:s/Hello/Hi/ } > .spurt: $filename The reason this doesn't work, is because s:g/Hello/Hi/ requires a writeable $_, and the invocant of .&{ } is not writeable in this example. If you really like s/// syntax that much, why not use .subst(/Hello/, "Hi", :g) instead?Thread Previous | Thread Next
- the new raku.org is really beautiful (and tought about spurt) by Marc Chantreux
- Re: the new raku.org is really beautiful (and tought about spurt) by Elizabeth Mattijsen
- Re: the new raku.org is really beautiful (and tought about spurt) by Marc Chantreux
- Re: the new raku.org is really beautiful (and tought about spurt) by Brian Duggan
- Re: the new raku.org is really beautiful (and tought about spurt) by Marc Chantreux
- Re: the new raku.org is really beautiful (and tought about spurt) by Elizabeth Mattijsen
- Re: the new raku.org is really beautiful (and tought about spurt) by William Michels via perl6-users
- Re: the new raku.org is really beautiful (and tought about spurt) by Elizabeth Mattijsen
- Re: the new raku.org is really beautiful (and tought about spurt) by Marc Chantreux
- Re: the new raku.org is really beautiful (and tought about spurt) by Elizabeth Mattijsen
- Re: the new raku.org is really beautiful (and tought about spurt) by Marc Chantreux
- Re: the new raku.org is really beautiful (and tought about spurt) by Elizabeth Mattijsen
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About