Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #617 from Altai-man/master
Fixes for hard linking
  • Loading branch information
jonathanstowe committed Jun 21, 2016
2 parents 4c4d0e2 + 2185a35 commit 47ba223
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
34 changes: 17 additions & 17 deletions doc/Language/5to6-perlfunc.pod
Expand Up @@ -90,7 +90,7 @@ The documentation for this can be found at
L<https://doc.perl6.org/type/IO::Path#File_Test_operators>.
There is more information on reading and writing files at
L<https://doc.perl6.org/language/io>. Also, the section on C<open()>
L<io|/language/io>. Also, the section on C<open()>
below may be helpful.
=head2 abs
Expand Down Expand Up @@ -316,7 +316,7 @@ C<my $deleted_value = @array[$i]:delete;>.
Works similarly to the Perl 5 version, but Perl 6's Exception mechanism
may give you more power and flexibility than is available in Perl 5.
See L<https://doc.perl6.org/language/exceptions>. To omit the stacktrace
See L<exceptions|/language/exceptions>. To omit the stacktrace
and location, like Perl 5's C<die "...\n">, use:
note "...";
Expand Down Expand Up @@ -615,7 +615,7 @@ may not be the best way to go for this.
Was never a builtin function in Perl 5 in the first place. In Perl 6,
typically, one declares functions as exportable or not, and all the
exportable ones are exported. Nevertheless, selective importing is
possible, but beyond the scope of this document. For details, see
possible, but beyond the scope of this document. For details, see
L<https://doc.perl6.org/language/5to6-nutshell#Importing_specific_functions_from_a_module>.
=head2 index
Expand Down Expand Up @@ -875,7 +875,7 @@ The most obvious change from Perl 5 is the file mode syntax. To open a
file for reading only, you would say C<open("file", :r)>. For write-
only, read-write, and append, you would use C<:w>, C<:rw>, and C<:a>
respectively. There are also options for encoding and how the filehandle
deals with newlines. Details at L<https://doc.perl6.org/routine/open>.
deals with newlines. Details L<here|/routine/open>.
=head2 opendir
Expand Down Expand Up @@ -911,7 +911,7 @@ The same in Perl 6.
Available in Perl 6. The template options are currently more restricted
than they are in Perl 5. The current documented list can be found at
L<https://doc.perl6.org/routine/unpack>.
L<unpack|/routine/unpack>.
=head2 package
Expand Down Expand Up @@ -1022,7 +1022,7 @@ These survive the transition to Perl 6. Some notes:
qw/.../ # is more commonly rendered as C<< <...> >> in Perl 6.
There are some added quoting constructs and equivalents, as explained at
L<https://doc.perl6.org/language/quoting>.
L<quoting|/language/quoting>.
=item qr/STRING/
Expand All @@ -1048,7 +1048,7 @@ that behavior. I. e. the Perl 5 C<rand(100)> is equivalent to
C<100.rand> in Perl 6. Additionally, you can get a random integer by
using something like C<(^100).pick>. For I<why> you are able to do that,
see L<https://doc.perl6.org/language/operators#prefix_%5E> and
L<https://doc.perl6.org/routine/pick>.
L<pick|/routine/pick>.
=head2 read
Expand All @@ -1072,7 +1072,7 @@ take a look at L<https://doc.perl6.org/type/IO::Path#routine_dir>.
Not available in Perl 6. You most likely want to use the C<.lines>
method in some way. For more detailed information on reading from files,
see L<https://doc.perl6.org/language/io>.
see L<io|/language/io>.
=head2 readlink
Expand Down Expand Up @@ -1318,7 +1318,7 @@ C<sort> exists in Perl 6, but is somewhat different. C<$a> and C<$b> are
no longer special (See L<5to6-perlvar>) and sort routines no
longer return positive integers, negative integers, or 0, but rather
C<Order::Increase>, C<Order::Same>, or C<Order::Decrease> objects. See
L<https://doc.perl6.org/routine/sort> for details. May also be used as a
L<sort|/routine/sort> for details. May also be used as a
method I. e. C<sort(@a)> is equivalent to C<@a.sort>.
=head2 splice
Expand Down Expand Up @@ -1358,7 +1358,7 @@ you wish to have the delimiters included in the resulting list, you need
to use the named parameter C<:all>, like this: C<split(';', "a;b;c",
:all) # a ; b ; c> Empty chunks are not removed from the result list as
they are in Perl 5. For that behavior, see C<comb>. Details on C<split>
are at L<https://doc.perl6.org/routine/split>. Unsurprisingly, C<split>
are L<here|/routine/split>. Unsurprisingly, C<split>
also now works as a method: C<"a;b;c".split(';')>
=item split
Expand Down Expand Up @@ -1472,7 +1472,7 @@ C<@_> still contains what is passed to the function. So, in theory, you
don't need to change that aspect of a function if porting from Perl 5 to
Perl 6 (although you should probably consider the option of using a
signature). For all the gory details, see
L<https://doc.perl6.org/language/functions>.
L<functions|/language/functions>.
=head2 __SUB__
Expand Down Expand Up @@ -1527,8 +1527,8 @@ C<IO> classes somewhere.
=item system PROGRAM LIST
For this, you probably want C<run> (L<https://doc.perl6.org/routine/run>)
or C<shell> (L<https://doc.perl6.org/routine/shell>).
For this, you probably want (L<run|/routine/run>)
or (L<shell routine|/routine/shell>).
=head2 syswrite
Expand Down Expand Up @@ -1612,7 +1612,7 @@ Works as a function and a method. C<uc("ha")> and C<"ha".uc> both return "HA".
=item ucfirst
Perl 6 has done away with C<ucfirst>. The title case function C<tc> probably
does what you need here. L<https://doc.perl6.org/routine/tc>
does what you need here. L<tc|/routine/tc> function.
=head2 umask
Expand Down Expand Up @@ -1650,8 +1650,8 @@ The zero argument (implicit C<$_>) version of unlink is not available in Perl
=item unpack TEMPLATE
Available in Perl 6. The template options are currently more restricted
than they are in Perl 5. The current documented list can be found at
L<https://doc.perl6.org/routine/unpack>.
than they are in Perl 5. The current documented list can be found
L<here|/routine/unpack>.
=head2 unshift
Expand Down Expand Up @@ -1808,7 +1808,7 @@ not advised:
C<warn> throws an exception. To simply print a message to C<$*ERR>, you
would use the C<note> function. For more on exceptions, see
L<https://doc.perl6.org/language/exceptions>.
L<Exceptions|/language/exceptions>.
=head2 write
Expand Down
6 changes: 3 additions & 3 deletions doc/Language/5to6-perlop.pod
Expand Up @@ -19,7 +19,7 @@ equivalents, please see the Perl 6 documentation.
=head1 SOURCES
I'm taking my information from L<https://doc.perl6.org> (in particular,
L<https://doc.perl6.org/language/operators>), supplemented by the
L<operators|/language/operators>), supplemented by the
design documents at L<https://design.perl6.org/> and input from the denizens
of #perl6 on irc.freenode.org
Expand Down Expand Up @@ -235,7 +235,7 @@ C<orelse>.
=head2 Quote and Quote-like Operators
For all the gory details on quoting constructs, see
L<https://doc.perl6.org/language/quoting>.
L<quoting|/language/quoting>.
There is a quoting operator that allows absolute literal strings: C<Q> or
C<「…」>, although the latter might be difficult to find on your keyboard,
Expand Down Expand Up @@ -292,7 +292,7 @@ C<qq>.
=head2 I/O Operators
The full details on Input/Output in Perl 6 can be found at
L<https://doc.perl6.org/language/io>.
L<io|/language/io>.
As C<< <...> >> is the quote-words construct in Perl 6, C<< <> >> is not
used for reading lines from a file. You can do that by either making an
Expand Down
4 changes: 2 additions & 2 deletions doc/Language/5to6-perlsyn.pod
Expand Up @@ -22,8 +22,8 @@ Perl 6 documentation.
=head1 SOURCES
I'm taking my information from L<http://doc.perl6.org> (in particular,
L<http://doc.perl6.org/language/syntax> and
L<http://doc.perl6.org/language/control>), supplemented by the design
L<syntax|/language/syntax> and
L<control flow|/language/control>), supplemented by the design
documents at L<http://design.perl6.org/> and input from the denizens of
#perl6 on irc.freenode.org
Expand Down
4 changes: 2 additions & 2 deletions doc/Language/5to6-perlvar.pod
Expand Up @@ -19,7 +19,7 @@ variables.
=head1 SOURCES
I'm taking my information from L<http://doc.perl6.org/language/variables>
I'm taking my information from L<variables|/language/variables>
supplemented by L<http://design.perl6.org/S28.html> and input from the
denizens of #perl6 on irc.freenode.org
Expand Down Expand Up @@ -321,7 +321,7 @@ If you want to I<understand> why that works, you can look at these documents:
=item L<http://doc.perl6.org/routine/%5B%20%5D#language_documentation_Operators>
=item L<http://doc.perl6.org/type/Whatever>
=item L<Whatever|/type/Whatever>
...and possibly
Expand Down
4 changes: 2 additions & 2 deletions doc/Language/faq.pod
Expand Up @@ -70,7 +70,7 @@ is the measure of how complete a Perl 6 implementation is.
=head2 Is there a glossary of Perl 6 related terms?
Yes, see L<glossary|https://doc.perl6.org/language/glossary>.
Yes, see L<glossary|/language/glossary>.
=head2 I'm a Perl 5 programmer. Where is a list of differences between Perl 5 and 6?
Expand Down Expand Up @@ -493,7 +493,7 @@ A short answer is that Rakudo is written almost entirely in Perl 6. A more
detailed answer is that Rakudo is written in a mixture of Perl 6 and NQP ("Not
Quite Perl"). NQP is a lightweight Perl 6-like environment for virtual
machines; it's designed to be a high-level way to create compilers and
libraries for virtual machines (such as MoarVM and JVM) using Perl 6 syntax.
libraries for virtual machines (such as MoarVM and JVM) using Perl 6 syntax.
=head2 What language is NQP written in?
Expand Down
2 changes: 1 addition & 1 deletion doc/Language/glossary.pod
Expand Up @@ -628,7 +628,7 @@ L<Just-in-time compilation|https://en.wikipedia.org/wiki/Just-in-time_compilatio
=head1 Junction
A compound type that is transparent to many operations. See
L<http://doc.perl6.org/type/Junction>.
L<Junction|/type/Junction>.
=head1 JVM
Expand Down

0 comments on commit 47ba223

Please sign in to comment.