2014-06-28 20:59:14 +00:00
|
|
|
|
---
|
|
|
|
|
category: language
|
|
|
|
|
language: perl6
|
2016-10-27 08:38:21 +00:00
|
|
|
|
filename: learnperl6.p6
|
2014-06-28 20:59:14 +00:00
|
|
|
|
contributors:
|
2015-11-08 21:04:44 +00:00
|
|
|
|
- ["vendethiel", "http://github.com/vendethiel"]
|
2016-10-28 20:03:22 +00:00
|
|
|
|
- ["Samantha McVey", "https://cry.nu"]
|
2014-06-28 20:59:14 +00:00
|
|
|
|
---
|
|
|
|
|
|
2015-10-08 03:11:24 +00:00
|
|
|
|
Perl 6 is a highly capable, feature-rich programming language made for at
|
2015-04-24 22:07:55 +00:00
|
|
|
|
least the next hundred years.
|
2014-06-28 20:59:14 +00:00
|
|
|
|
|
2015-04-24 22:07:55 +00:00
|
|
|
|
The primary Perl 6 compiler is called [Rakudo](http://rakudo.org), which runs on
|
2015-10-15 22:31:38 +00:00
|
|
|
|
the JVM and [the MoarVM](http://moarvm.com).
|
2014-08-14 19:35:14 +00:00
|
|
|
|
|
2018-12-19 22:15:21 +00:00
|
|
|
|
Meta-note: double pound signs (`##`) are used to indicate paragraphs,
|
|
|
|
|
while single pound signs (`#`) indicate notes.
|
2014-06-28 20:59:14 +00:00
|
|
|
|
|
2014-07-18 23:54:05 +00:00
|
|
|
|
`#=>` represents the output of a command.
|
|
|
|
|
|
2016-12-31 23:27:27 +00:00
|
|
|
|
```perl6
|
2018-12-19 22:15:21 +00:00
|
|
|
|
# Single line comments start with a pound sign.
|
2014-06-28 20:59:14 +00:00
|
|
|
|
|
2018-12-19 22:15:21 +00:00
|
|
|
|
#`( Multiline comments use #` and a quoting construct.
|