Course of Raku / Essentials

Built-in functions for printing

To print data to the console (or, more strictly speaking, to the STDOUT stream), we used the built-in routine say a lot. There are a few more functions that print. We’ve briefly seen most of them in the examples of ‘Hello, World!’ already. In this section, more details are given.

Topics in this section

Exercises

This section contains 2 exercises. Examine all the topics of this section before going to the coding practice.

  1. Compare say and put
  2. Print the warning

Course navigation

More about functions / Multi-functions   |   say