@librasteve

8 Followers
11 Following
6 Posts
on mastodon, please hover over the gif to make it play
some fun Artemis II armchair physics using the CragCLI calculator (https://cragcli.info) #rakulang #artemis #cli #commandline #physics

@profoundlynerdy
likely in raku you can go something like this (untested):

```
multi infix:<?-\>>($invocant, Callable $method) {
try { $invocant?.$method } //
$invocant
}
```

@adanskana @Ardubal - I think that you have put your finger on the most enduring use case of perl - since it is rock solid and everywhere, it remains a very useful CLI tool (and originally came out of an evolution of shell languages, so it is a very natural step from eg bash) ...
@AthanSpod @adanskana just a mention that Raku has Inline::Perl5 and Inline::Python (as well as 2000+ raku native modules at raku.land and C FFI in the core), this is not 100% ideal, but it lowers the chicken / egg barriers
@profoundlynerdy @adanskana I second this ... I spent about 3 years coding perl professionally and really enjoyed the way that it feels (after some learning curve) - I would say that raku is now (finally) in a good place and has kept a lot of the feel of perl plus a lot of great new ideas