Perl6 is a programming language 10 years in the making.
Try out Perl6 in the prompt on the right. In addition to Perl6's methods, the following commands are also available:
The window to the right is a Perl6 prompt.
Here you can write a line of code and watch it run!
For your first bit of Perl6, try typing some math, like: 13 + 4 or 19 / 3
Great you just did some math!
Perl6 recognizes numbers and mathematics operators.
Try some more math.
When you're finished experimenting, type next to move on the next lesson.
Values know types. You can inspect what type something is by calling *.WHAT on it
Let's see some examples:
Notice what type you get when you divide two integers.
Say 'hello' to the world in Perl6.
Try calling .WHAT on your quoted message: say "Hello World!".WHAT
You've just used a Perl6 String.
Here are some other things you can do with Strings
Oh no, looks like this tutorial is incomplete.
Feel free to play with the Perl6 REPL to the right.
Check out these examples!
This site is not in any way associated with the official Perl6 project or community.
The version of Rakudo on this site may be out-dated, please do not allow this to reflect badly on the community.
Any bugs or issues on this site should be assumed to be the fault of the site author and not anyone officially involved with Perl6.