Skip to content

Commit dfd4257

Browse files
authored
Merge pull request #886 from titsuki/index-faq
Add some indexes for FAQ
2 parents 71fde8d + 81ef09b commit dfd4257

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/Language/faq.pod6

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ of the 'use 6.c' pragma. The next language version (no release date) is to be
3131
v6.d.
3232
3333
=head2 As a Perl 6 beginner what should I install?
34+
X<|Rakudo Star (FAQ)>
3435
3536
Mac users can use the latest Rakudo Star DMG binary installer at
3637
L<http://rakudo.org/downloads/star>
@@ -48,6 +49,7 @@ Or there is an official rakudo star docker image at
4849
L<https://hub.docker.com/_/rakudo-star/>
4950
5051
=head2 As an intermediate to advanced user I want to track Rakudo development.
52+
X<|rakudobrew (FAQ)>
5153
5254
Install L<rakudobrew|https://github.com/tadzik/rakudobrew> which resembles
5355
Perl 5's perlbrew and the equivalent Python and Ruby tools.
@@ -82,12 +84,14 @@ See the '5to6-nutshell' pod under L<https://docs.perl6.org/language/5to6-nutshel
8284
and related pages.
8385
8486
=head2 I'm a Ruby programmer looking for quickstart type docs?
87+
X<|Ruby (FAQ)>
8588
8689
See the 'rb-nutshell' pod under L<https://docs.perl6.org/language/rb-nutshell>
8790
8891
=head1 Modules
8992
9093
=head2 Is there a CPAN for Perl 6?
94+
X<|CPAN (FAQ)>
9195
9296
There isn't yet a module repository for Perl 6 as sophisticated as CPAN. But
9397
L<modules.perl6.org|https://modules.perl6.org/> has a list of known Perl 6
@@ -98,11 +102,13 @@ L<rakudo|http://rakudo.org/>.
98102
Support for installing Perl 6 modules from the Perl 5 CPAN is on its way.
99103
100104
=head2 Can I use Perl 5 modules from Perl 6?
105+
X<|Perl 5 modules (FAQ)>
101106
102107
Yes, with L<Inline::Perl5|https://github.com/niner/Inline-Perl5/>, which works
103108
well with most Perl 5 modules. It can even run Perl 5 Catalyst and DBI.
104109
105110
=head2 Can I use C and C++ from Perl 6?
111+
X<|C and C++ (FAQ)>
106112
107113
L<Nativecall|https://docs.perl6.org/language/nativecall> makes this particularly easy.
108114
@@ -112,6 +118,8 @@ This is commonly seen on Debian-like systems. You need to install "libfoo-dev"
112118
to set a sym link for the missing file.
113119
114120
=head2 Where have all the traditional UNIX library functions gone?
121+
X<|UNIX library functions (FAQ)>
122+
X<|POSIX (FAQ)>
115123
116124
It's very easy to use Nativecall to access them.
117125
@@ -134,6 +142,7 @@ compilation unit.
134142
=head1 Language Features
135143
136144
=head2 How can I dump Perl 6 data structures (like Perl 5 Data::Dumper and similar)?
145+
X<|Data::Dumper (FAQ)>
137146
138147
Examples:
139148
@@ -248,6 +257,7 @@ Example of a definite return value:
248257
In this case the final value is thrown away because the return value is already specified.
249258
250259
=head2 How can I extract the values from a Junction?
260+
X<|Junction (FAQ)>
251261
252262
If you want to extract the values (eigenstates) from a
253263
L<Junction|/type/Junction>, you are probably doing something wrong, and
@@ -311,6 +321,7 @@ or by calling the C<.item> method on an expression.
311321
312322
313323
=head2 Why sigils? Couldn't you do without them?
324+
X<|sigils (FAQ)>
314325
315326
There are several reasons:
316327
@@ -338,6 +349,7 @@ hash key. Use a closure to help it to understand you.
338349
say "{$foo}<html-tag>";
339350
340351
=head2 Does Perl 6 have coroutines? What about C<yield>?
352+
X<|coroutine (FAQ)>
341353
342354
Perl 6 has no C<yield> statement like python does, but it does offer similar
343355
functionality through lazy lists. There are two popular ways to write
@@ -489,6 +501,7 @@ string|/type/Match>.
489501
C<OpaquePointer> is deprecated and has been replaced with C<Pointer>.
490502
491503
=head1 Perl 6 Implementation
504+
X<|Perl 6 Implementation (FAQ)>
492505
493506
=head2 What Perl 6 Implementations are available?
494507
@@ -505,6 +518,7 @@ machines; it's designed to be a high-level way to create compilers and
505518
libraries for virtual machines (such as MoarVM and JVM) using Perl 6 syntax.
506519
507520
=head2 What language is NQP written in?
521+
X<|NQP (FAQ)>
508522
509523
NQP is a mixture of (1) NQP code, (2) whatever language the underlying virtual
510524
machine is using, (3) some third-party C and Java libraries, and (4) some

0 commit comments

Comments
 (0)