Created
September 16, 2023 07:19
-
-
Save wayland/a677bb7e3ab3a1a19d40aa076648be69 to your computer and use it in GitHub Desktop.
Raku Supply Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/raku | |
say "t1"; | |
my $foo = "todo.txt".IO; | |
$foo.Supply().tap(-> $item { $item.raku.say; }); | |
say "t2"; | |
$foo.open(); | |
say "t3"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment