2025.43 Trick or Treat

Raku Tips ‘n Tricks

After a few weeks getting in the rhythm of editing the weekly, I feel that we could do a bit more to present the good stuff that Raku can do. Therefore, this is the start of a hopefully-to-become-regular section where we can share Raku tips and tricks with one another.

# RTnT#1: Using prefix // to test for definedness

##in Raku v6.d you can already write:

my $x = 1;
my $y = $x ?? 'set' !! 'unset';
say $y;   #set

##now, in Raku v6.e, you can also write:

use v6.e.*;

my $x;
my $y = //$x ?? 'defined' !! 'undefined';
say $y;   #undefined

~librasteve

I hope many of you like this idea. To contribute please make a gist and share via the raku channel IRC or Discord using the weekly robot like this… weekly: link-to-gist. Deciding the winner will be completely arbitrary and preference will be given to short things and things that highlight v6.e new features.

Londoner (or nearby)?

The call has gone out for a 2025 London Perl and Raku Workshop in late November https://www.londonperlworkshop.com … please indicate your interest if you would like to attend.

PodLite New Release

Breaking news: just came to my attention that there is a new release of podlite … https://github.com/podlite/podlite-desktop/releases/tag/v0.6.1

Weeklies

Weekly Challenge #345 is available for your edification.

New Problem Solving Issues

New Docs Pull Requests

New Pull Requests

New Core Developments

Questions About Raku

Comments About Raku

New Raku Modules

Updated Raku Modules

Winding down

Hope that you like the new Tips & Tricks section – it’s success rides on a steady flow of interesting quirks from you … so don’t be shy and lets make it a regular feature to help bring newcomers up to speed on all the cool stuff we have in our bushel.

Please keep staying safe and healthy, and keep up the good work! Even after week 40 of hopefully only 209.

Meanwhile, still: Слава Україні!  Героям слава!

~librasteve (editor-in-chief)

Leave a comment