raku: add page (#21598)

This commit is contained in:
Emmanuel Ferdman
2026-03-19 16:23:11 +02:00
committed by GitHub
parent d015343234
commit f6f85ed46b
+33
View File
@@ -0,0 +1,33 @@
# raku
> Rakudo Raku (formerly Perl 6) programming language interpreter.
> See also: `perl`.
> More information: <https://manned.org/raku>.
- Execute a Raku script:
`raku {{path/to/script.raku}}`
- Execute a single Raku command:
`raku -e "{{command}}"`
- Check syntax only (runs BEGIN and CHECK blocks):
`raku -c {{path/to/script.raku}}`
- Start a REPL (interactive shell):
`raku`
- Load a module before running the program:
`raku -M {{module_name}} {{path/to/script.raku}}`
- Add a path to the module search path:
`raku -I {{path/to/module_directory}} {{path/to/script.raku}}`
- Extract and display documentation from a script:
`raku --doc {{path/to/script.raku}}`