Modules

How to use, create, and distribute Raku modules

Creating and using modules

A module is usually a source file or set of source files that expose Raku constructs [1].

Modules are typically packages (classes, roles, grammars), subroutines, and sometimes variables. In Raku module can also refer to a type of package declared with the module keyword (see Module Packages and the examples below) but here we mostly mean "module" as a set of source files in a namespace.

Using Modules

Introduction

See Using Modules: An Introduction

Looking for and installing modules

See Using Modules: Finding and Installing

Loading and using modules

See Using Modules

Making Modules

Terminology and basic structure

See Making Modules

How to organize your module with regard to its usage

See Making Modules

Distributing modules

See Distributions: An Introduction.

Preparing the module

See Distributions: The Configuration and Structure

Tools that help with module authoring

See Distributions: The Tools

Testing modules and a distribution

See Distributions: Testing.

Uploading the module

See Distributions: Uploading.

Discussing module development

See Distributions: An Introduction

[1]Technically a module is a set of compunits which are usually files but could come from anywhere as long as there is a compunit repository that can provide it. See S11.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite β€” the markup and publishing tools behind this site.