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