© J.J. Merelo 2019
J. MereloPerl 6 Quick Syntax Referencehttps://doi.org/10.1007/978-1-4842-4956-7_4

4. Expressions and Operators

Understanding Simple Expressions and How They Are Built
J. J. Merelo1 
(1)
Granada, Spain
 
Once you know how to enter basic data into Perl 6, the next natural step is to build expressions with them. This is what you will learn in this chapter, where, as in the previous one, code and expressions can be typed in the REPL and the result will be printed on the next line if there’s no error, as shown in Figure 4-1.
../images/476945_1_En_4_Chapter/476945_1_En_4_Fig1_HTML.jpg
Figure 4-1

Typing an expression into the REPL, which returns the evaluated value

Basic Expressions

Basic expressions are ...

Get Perl 6 Quick Syntax Reference: A Pocket Guide to the Language, the Core Modules, and the Community now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.