In Syntax§
See primary documentation in context for package, module, class, role, and grammar declaration
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