> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/perl6-rosettacode/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/perl6-rosettacode/programming_tasks/h/hello-world/text.md).

# Text

```perl
say 'Hello world!';
```

In an object-oriented approach, the string is treated as an object calling its **say()** method:

```perl
"Hello, World!".say();
```
