1.8. Hello World

One usually starts by saying something to the audience.
We do this using the say keyword.
Not only does it print to the screen it also adds a newline at the end of the string.
As you can see strings are marked by " at both their ends.
Commands end with ;

Example 1-1. examples/intro/hello_world.p6

#!/usr/bin/perl6

say "Hello World";

The same in OOP style:

Example 1-2. examples/intro/hello_world_oop.p6

#!/usr/bin/perl6

"Hello World".say;