Sigils


All variables start with a sigil

A variables sigil represents the variables mutability and type constraints

Sigil != Type

A type is not necessarily exclusive to a single sigil, but certain types have to use a specific sigil

Variants

$

A mutable variable that is passed by value and can be passed into a process

@

A mutable variable that is passed by reference and cannot be passed into a process

%

A thread safe mutable variable that is passed by reference and can be passed into a process

#

An immutable variable that can be passed into a process