syntax unit
1 | language documentation Syntax |
1.1 | (Syntax) declarator unit unit |
Documentation for syntax unit
assembled from the following types:
language documentation Syntax
From Syntax
(Syntax) declarator unit unit
There are several types of package, each declared with a keyword, a name, some optional traits, and a body of subroutines, methods, or rules.
Several packages may be declared in a single file. However, you can declare a unit
package at the start of the file (preceded only by comments or use
statements), and the rest of the file will be taken as being the body of the package. In this case, the curly braces are not required.
unit ;# ... stuff goes here instead of in {}'s