Created
January 20, 2024 13:18
-
-
Save gfldex/afe6a3cd8f7999be6f5fd34f8d4a30e7 to your computer and use it in GitHub Desktop.
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/env raku | |
use v6.d; | |
use lib $*PROGRAM.resolve.dirname; | |
use util; | |
sub MAIN() { | |
put ‘I'm doing a thing.’; | |
put i-am-helpful; | |
} |
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
sub i-am-helpful is export { | |
‘Edel sei der Mensch, hilfreich und gut.’ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can stick the 2 files into any directory and
chmod 0700 main.raku
. The extension for.raku
is not needed, but.rakumod
is.