Skip to content

Instantly share code, notes, and snippets.

@gfldex
Created January 20, 2024 13:18
Show Gist options
  • Save gfldex/afe6a3cd8f7999be6f5fd34f8d4a30e7 to your computer and use it in GitHub Desktop.
Save gfldex/afe6a3cd8f7999be6f5fd34f8d4a30e7 to your computer and use it in GitHub Desktop.
#! /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;
}
sub i-am-helpful is export {
‘Edel sei der Mensch, hilfreich und gut.’
}
@gfldex
Copy link
Author

gfldex commented Jan 20, 2024

You can stick the 2 files into any directory and chmod 0700 main.raku. The extension for .raku is not needed, but .rakumod is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment