Skip to content

Commit 2185a35

Browse files
committed
Fixes for hard linking
1 parent 4c4d0e2 commit 2185a35

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

doc/Language/5to6-perlfunc.pod

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The documentation for this can be found at
9090
L<https://doc.perl6.org/type/IO::Path#File_Test_operators>.
9191
9292
There is more information on reading and writing files at
93-
L<https://doc.perl6.org/language/io>. Also, the section on C<open()>
93+
L<io|/language/io>. Also, the section on C<open()>
9494
below may be helpful.
9595
9696
=head2 abs
@@ -316,7 +316,7 @@ C<my $deleted_value = @array[$i]:delete;>.
316316
317317
Works similarly to the Perl 5 version, but Perl 6's Exception mechanism
318318
may give you more power and flexibility than is available in Perl 5.
319-
See L<https://doc.perl6.org/language/exceptions>. To omit the stacktrace
319+
See L<exceptions|/language/exceptions>. To omit the stacktrace
320320
and location, like Perl 5's C<die "...\n">, use:
321321
322322
note "...";
@@ -615,7 +615,7 @@ may not be the best way to go for this.
615615
Was never a builtin function in Perl 5 in the first place. In Perl 6,
616616
typically, one declares functions as exportable or not, and all the
617617
exportable ones are exported. Nevertheless, selective importing is
618-
possible, but beyond the scope of this document. For details, see
618+
possible, but beyond the scope of this document. For details, see
619619
L<https://doc.perl6.org/language/5to6-nutshell#Importing_specific_functions_from_a_module>.
620620
621621
=head2 index
@@ -875,7 +875,7 @@ The most obvious change from Perl 5 is the file mode syntax. To open a
875875
file for reading only, you would say C<open("file", :r)>. For write-
876876
only, read-write, and append, you would use C<:w>, C<:rw>, and C<:a>
877877
respectively. There are also options for encoding and how the filehandle
878-
deals with newlines. Details at L<https://doc.perl6.org/routine/open>.
878+
deals with newlines. Details L<here|/routine/open>.
879879
880880
=head2 opendir
881881
@@ -911,7 +911,7 @@ The same in Perl 6.
911911
912912
Available in Perl 6. The template options are currently more restricted
913913
than they are in Perl 5. The current documented list can be found at
914-
L<https://doc.perl6.org/routine/unpack>.
914+
L<unpack|/routine/unpack>.
915915
916916
=head2 package
917917
@@ -1022,7 +1022,7 @@ These survive the transition to Perl 6. Some notes:
10221022
qw/.../ # is more commonly rendered as C<< <...> >> in Perl 6.
10231023
10241024
There are some added quoting constructs and equivalents, as explained at
1025-
L<https://doc.perl6.org/language/quoting>.
1025+
L<quoting|/language/quoting>.
10261026
10271027
=item qr/STRING/
10281028
@@ -1048,7 +1048,7 @@ that behavior. I. e. the Perl 5 C<rand(100)> is equivalent to
10481048
C<100.rand> in Perl 6. Additionally, you can get a random integer by
10491049
using something like C<(^100).pick>. For I<why> you are able to do that,
10501050
see L<https://doc.perl6.org/language/operators#prefix_%5E> and
1051-
L<https://doc.perl6.org/routine/pick>.
1051+
L<pick|/routine/pick>.
10521052
10531053
=head2 read
10541054
@@ -1072,7 +1072,7 @@ take a look at L<https://doc.perl6.org/type/IO::Path#routine_dir>.
10721072
10731073
Not available in Perl 6. You most likely want to use the C<.lines>
10741074
method in some way. For more detailed information on reading from files,
1075-
see L<https://doc.perl6.org/language/io>.
1075+
see L<io|/language/io>.
10761076
10771077
=head2 readlink
10781078
@@ -1318,7 +1318,7 @@ C<sort> exists in Perl 6, but is somewhat different. C<$a> and C<$b> are
13181318
no longer special (See L<5to6-perlvar>) and sort routines no
13191319
longer return positive integers, negative integers, or 0, but rather
13201320
C<Order::Increase>, C<Order::Same>, or C<Order::Decrease> objects. See
1321-
L<https://doc.perl6.org/routine/sort> for details. May also be used as a
1321+
L<sort|/routine/sort> for details. May also be used as a
13221322
method I. e. C<sort(@a)> is equivalent to C<@a.sort>.
13231323
13241324
=head2 splice
@@ -1358,7 +1358,7 @@ you wish to have the delimiters included in the resulting list, you need
13581358
to use the named parameter C<:all>, like this: C<split(';', "a;b;c",
13591359
:all) # a ; b ; c> Empty chunks are not removed from the result list as
13601360
they are in Perl 5. For that behavior, see C<comb>. Details on C<split>
1361-
are at L<https://doc.perl6.org/routine/split>. Unsurprisingly, C<split>
1361+
are L<here|/routine/split>. Unsurprisingly, C<split>
13621362
also now works as a method: C<"a;b;c".split(';')>
13631363
13641364
=item split
@@ -1472,7 +1472,7 @@ C<@_> still contains what is passed to the function. So, in theory, you
14721472
don't need to change that aspect of a function if porting from Perl 5 to
14731473
Perl 6 (although you should probably consider the option of using a
14741474
signature). For all the gory details, see
1475-
L<https://doc.perl6.org/language/functions>.
1475+
L<functions|/language/functions>.
14761476
14771477
=head2 __SUB__
14781478
@@ -1527,8 +1527,8 @@ C<IO> classes somewhere.
15271527
15281528
=item system PROGRAM LIST
15291529
1530-
For this, you probably want C<run> (L<https://doc.perl6.org/routine/run>)
1531-
or C<shell> (L<https://doc.perl6.org/routine/shell>).
1530+
For this, you probably want (L<run|/routine/run>)
1531+
or (L<shell routine|/routine/shell>).
15321532
15331533
=head2 syswrite
15341534
@@ -1612,7 +1612,7 @@ Works as a function and a method. C<uc("ha")> and C<"ha".uc> both return "HA".
16121612
=item ucfirst
16131613
16141614
Perl 6 has done away with C<ucfirst>. The title case function C<tc> probably
1615-
does what you need here. L<https://doc.perl6.org/routine/tc>
1615+
does what you need here. L<tc|/routine/tc> function.
16161616
16171617
=head2 umask
16181618
@@ -1650,8 +1650,8 @@ The zero argument (implicit C<$_>) version of unlink is not available in Perl
16501650
=item unpack TEMPLATE
16511651
16521652
Available in Perl 6. The template options are currently more restricted
1653-
than they are in Perl 5. The current documented list can be found at
1654-
L<https://doc.perl6.org/routine/unpack>.
1653+
than they are in Perl 5. The current documented list can be found
1654+
L<here|/routine/unpack>.
16551655
16561656
16571657
=head2 unshift
@@ -1808,7 +1808,7 @@ not advised:
18081808
18091809
C<warn> throws an exception. To simply print a message to C<$*ERR>, you
18101810
would use the C<note> function. For more on exceptions, see
1811-
L<https://doc.perl6.org/language/exceptions>.
1811+
L<Exceptions|/language/exceptions>.
18121812
18131813
=head2 write
18141814

doc/Language/5to6-perlop.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ equivalents, please see the Perl 6 documentation.
1919
=head1 SOURCES
2020
2121
I'm taking my information from L<https://doc.perl6.org> (in particular,
22-
L<https://doc.perl6.org/language/operators>), supplemented by the
22+
L<operators|/language/operators>), supplemented by the
2323
design documents at L<https://design.perl6.org/> and input from the denizens
2424
of #perl6 on irc.freenode.org
2525
@@ -235,7 +235,7 @@ C<orelse>.
235235
=head2 Quote and Quote-like Operators
236236
237237
For all the gory details on quoting constructs, see
238-
L<https://doc.perl6.org/language/quoting>.
238+
L<quoting|/language/quoting>.
239239
240240
There is a quoting operator that allows absolute literal strings: C<Q> or
241241
C<「…」>, although the latter might be difficult to find on your keyboard,
@@ -292,7 +292,7 @@ C<qq>.
292292
=head2 I/O Operators
293293
294294
The full details on Input/Output in Perl 6 can be found at
295-
L<https://doc.perl6.org/language/io>.
295+
L<io|/language/io>.
296296
297297
As C<< <...> >> is the quote-words construct in Perl 6, C<< <> >> is not
298298
used for reading lines from a file. You can do that by either making an

doc/Language/5to6-perlsyn.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Perl 6 documentation.
2222
=head1 SOURCES
2323
2424
I'm taking my information from L<http://doc.perl6.org> (in particular,
25-
L<http://doc.perl6.org/language/syntax> and
26-
L<http://doc.perl6.org/language/control>), supplemented by the design
25+
L<syntax|/language/syntax> and
26+
L<control flow|/language/control>), supplemented by the design
2727
documents at L<http://design.perl6.org/> and input from the denizens of
2828
#perl6 on irc.freenode.org
2929

doc/Language/5to6-perlvar.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ variables.
1919
2020
=head1 SOURCES
2121
22-
I'm taking my information from L<http://doc.perl6.org/language/variables>
22+
I'm taking my information from L<variables|/language/variables>
2323
supplemented by L<http://design.perl6.org/S28.html> and input from the
2424
denizens of #perl6 on irc.freenode.org
2525
@@ -321,7 +321,7 @@ If you want to I<understand> why that works, you can look at these documents:
321321
322322
=item L<http://doc.perl6.org/routine/%5B%20%5D#language_documentation_Operators>
323323
324-
=item L<http://doc.perl6.org/type/Whatever>
324+
=item L<Whatever|/type/Whatever>
325325
326326
...and possibly
327327

doc/Language/faq.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ is the measure of how complete a Perl 6 implementation is.
7070
7171
=head2 Is there a glossary of Perl 6 related terms?
7272
73-
Yes, see L<glossary|https://doc.perl6.org/language/glossary>.
73+
Yes, see L<glossary|/language/glossary>.
7474
7575
=head2 I'm a Perl 5 programmer. Where is a list of differences between Perl 5 and 6?
7676
@@ -493,7 +493,7 @@ A short answer is that Rakudo is written almost entirely in Perl 6. A more
493493
detailed answer is that Rakudo is written in a mixture of Perl 6 and NQP ("Not
494494
Quite Perl"). NQP is a lightweight Perl 6-like environment for virtual
495495
machines; it's designed to be a high-level way to create compilers and
496-
libraries for virtual machines (such as MoarVM and JVM) using Perl 6 syntax.
496+
libraries for virtual machines (such as MoarVM and JVM) using Perl 6 syntax.
497497
498498
=head2 What language is NQP written in?
499499

doc/Language/glossary.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ L<Just-in-time compilation|https://en.wikipedia.org/wiki/Just-in-time_compilatio
628628
=head1 Junction
629629
630630
A compound type that is transparent to many operations. See
631-
L<http://doc.perl6.org/type/Junction>.
631+
L<Junction|/type/Junction>.
632632
633633
=head1 JVM
634634

0 commit comments

Comments
 (0)