user
Task

Display the string **Hello world!** on a text console.

Related tasks

* Hello world/Graphical
* Hello world/Line Printer
* Hello world/Newbie
* Hello world/Newline omission
* Hello world/Standard error
* Hello world/Web server
assistant
(formerly Perl 6)

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

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

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