CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1878
content-type: text/html; charset=utf-8
last-modified: Tue, 14 Oct 2025 07:47:19 GMT
traceparent: 0d99264e0636a4c77cf257cfb6321532
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:
Marc ChantreuxDate:
September 8, 2025 09:30Subject:
Re: the new raku.org is really beautiful (and tought about spurt)Message ID:
aL6iC1ADFxc8hkUA@prometheushi William, On Sun, Sep 07, 2025 at 07:26:21PM -0700, William Michels via perl6-users wrote: > `~$ raku -e 'my $fh = "ImportantFile_bak".IO; #create filehandle \ > "ImportantFile".IO.slurp.subst(:global, "Hello ", "Hi ") andthen > spurt($fh, $_, :createonly);' ` this is way behond the rewrite of the example. and my sadness about the way spurt is usable but still an interesting feedback because TIMTODY and but there is no way to really describe why we choose one against the other. * I'm also fan of what I call "method as pipe" syntax and I would like to write them as multiline but AFAIR I had some issues with that. to illustrate that: my shell scripts looks like getent passwd | cut -d: -f7 | sed ' /zsh$/ !d s//&-static/ ' | sort | uniq -c > busybox_fs/etc/passwd and as I hate "misplaced parentheses" (I don't fear parentheses when they're in the right place to tell the right thing like in scheme) and that's one of the reasons I felt immediately in love with perl 30 years ago. so my raku of dream would allow me something like: so my dream would be to write liz's example close to this: "example.txt".IO.slurp .&{ g:s/Hello/Hi/ } .spurt: $filename regards MarcThread 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