control flow statements

Documentation for control flow statements assembled from the following types:

language documentation Control Flow

From Control Flow

(Control Flow) control flow statements

Perl 6 programs consists of one or more statements. Simple statements are separated by semicolons. The following program will say "Hello" and then say "World" on the next line.

say "Hello";
say "World";

In most places where spaces appear in a statement, and before the semicolon, it may be split up over many lines. Also, multiple statements may appear on the same line. It would be awkward, but the above could also be written as:

"Hello"say "World";