Let’s talk about strings. We already used strings in the previous programs. All of them are also called string literals. A string literal is some text in quotes:
say 'I am a string literal';
Of course, you can use a scalar variable to keep strings:
my $message = 'This is my message';
Let us see what other basic features we can learn about strings.
Topics in this section
Complete the quiz that covers the contents of this topic.
This section contains 4 exercises. Examine all the topics of this section before going to the coding practice.