Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hard links were removed
  • Loading branch information
Altai-man committed Jun 21, 2016
1 parent 47ba223 commit 38f6ccd
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
16 changes: 8 additions & 8 deletions doc/Language/5to6-perlfunc.pod
Expand Up @@ -87,7 +87,7 @@ The remaining filetests in Perl 5 do not appear to be implemented
in Perl 6.
The documentation for this can be found at
L<https://doc.perl6.org/type/IO::Path#File_Test_operators>.
L<File Test operators|/type/IO::Path#File_Test_operators>.
There is more information on reading and writing files at
L<io|/language/io>. Also, the section on C<open()>
Expand Down Expand Up @@ -167,7 +167,7 @@ still be useful.
Not in Perl 6. For breaking out of C<given> blocks, you should probably take a
look at C<proceed> and C<succeed>
(L<https://doc.perl6.org/language/control#proceed_and_succeed>).
L<here|/language/control#proceed_and_succeed>.
=head2 caller
Expand Down Expand Up @@ -616,7 +616,7 @@ 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
L<https://doc.perl6.org/language/5to6-nutshell#Importing_specific_functions_from_a_module>.
L<this section|/language/5to6-nutshell#Importing_specific_functions_from_a_module>.
=head2 index
Expand Down Expand Up @@ -781,7 +781,7 @@ operator still exists. If you're trying to rewrite some Perl 5 code, the
most important difference is that C<=~> is replaced by the smart match
operator, C<~~>. Similarly, C<!~> is replaced by C<!~~>. Options for
regex operators are adverbs and are complicated. For details, see
L<https://doc.perl6.org/language/regexes#Adverbs>
L<Adverbs|/language/regexes#Adverbs>
=head2 map
Expand Down Expand Up @@ -959,7 +959,7 @@ Works in Perl 6, and can also be used as a method. I. e. C<my $x = pop
Not available in Perl 6. The closest equivalent is the C<:c> adverb,
which defaults to C<$/.to> if C<$/> is true, and C<0> if it isn't. For
information on C<:c>, see
L<https://doc.perl6.org/language/regexes#Continue>.
L<Continue|/language/regexes#Continue>.
=head2 print
Expand Down Expand Up @@ -1047,7 +1047,7 @@ it an argument. You can, however, use it as a method on a number to get
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
see L<^ operator|/language/operators#prefix_%5E> and
L<pick|/routine/pick>.
=head2 read
Expand All @@ -1064,7 +1064,7 @@ documented to exist at this time.
=item readdir DIRHANDLE
Not a builtin function. To iterate through the contents of a directory,
take a look at L<https://doc.perl6.org/type/IO::Path#routine_dir>.
take a look at L<dir routine|/type/IO::Path#routine_dir>.
=head2 readline
Expand Down Expand Up @@ -1179,7 +1179,7 @@ substitution operator exists. If you're trying to rewrite some
Perl 5 code, the most important difference is that C<=~> is replaced
by the smart match operator, C<~~>. Similarly, C<!~> is C<!~~>.
Options for regex operators are adverbs and are complicated. For
details, see L<https://doc.perl6.org/language/regexes#Adverbs>
details, see L<Adverbs page|/language/regexes#Adverbs>
=head2 say
Expand Down
8 changes: 4 additions & 4 deletions doc/Language/5to6-perlop.pod
Expand Up @@ -28,7 +28,7 @@ of #perl6 on irc.freenode.org
The operator precedence table is somewhat different in Perl 6 than it is in
Perl 5, so I will not detail it here. If you need to know the precedence and
associativity of a given operator in Perl 6, refer to
L<https://doc.perl6.org/language/operators#Operator_Precedence>.
L<Operator Precedence|/language/operators#Operator_Precedence>.
=head2 Terms and List Operators
Expand All @@ -45,7 +45,7 @@ dereference something, however, the arrow is the dot. It is also the dot
for method calls. So, Perl 5's C<< $arrayref->[7] >> becomes
C<$arrayref.[7]> in Perl 6 and, similarly, C<< $user->name >> becomes
C<$user.name>. The C<< => >> arrow is used for constructing Pairs, see
L<https://doc.perl6.org/language/terms#Pair>.
L<Pair term documentation|/language/terms#Pair>.
=head2 Auto-increment and Auto-decrement
Expand Down Expand Up @@ -202,7 +202,7 @@ The comma operator works mostly as expected, but technically it creates
L<Lists|/type/List>) or separates arguments
in function calls. Also, there is a C<:> variant that turns function
calls into method calls - see
L<https://doc.perl6.org/language/operators#infix_%3A>.
L<this page|/language/operators#infix_%3A>.
The C<< => >> operator works similarly to the Perl 5 "fat comma"
behavior in that it allows an unquoted identifier on its left side, but
Expand Down Expand Up @@ -257,7 +257,7 @@ manner: C<< %a = 1 => 2, 3 => 4;say "%a[]"; >> results in a space
separating the pairs and tabs separating the key from the value in each
pair (apparently). You can also interpolate Perl 6 code in strings using
curly braces. For all the details, see
L<https://doc.perl6.org/language/quoting#Interpolation%3A_qq>.
L<Interpolation|/language/quoting#Interpolation%3A_qq>.
C<qw> works as in Perl 5, and can also be rendered as C<< <...> >>. E.
g. C<qw/a b c/> is equivalent to C<< <a b c> >>.
Expand Down
6 changes: 3 additions & 3 deletions doc/Language/5to6-perlsyn.pod
Expand Up @@ -97,7 +97,7 @@ until $x>.
The big change from Perl 5 is that C<given> is not experimental or disabled by
default in Perl 6. For the details on C<given> see
L<http://doc.perl6.org/language/control#given>.
L<this page|/language/control#given>.
=head2 Loop Control
Expand Down Expand Up @@ -158,8 +158,8 @@ given EXPR {
=end code
The full details can be found at
L<http://doc.perl6.org/language/control#given>.
The full details can be found
L<here|/language/control#given>.
=head2 Goto
Expand Down
4 changes: 2 additions & 2 deletions doc/Language/5to6-perlvar.pod
Expand Up @@ -148,7 +148,7 @@ $^z)>. Ergo:
=end code
For more on placeholder variables, see
L<http://doc.perl6.org/language/variables#The_%5E_Twigil>
L<this page|/language/variables#The_%5E_Twigil>
=item %ENV
%ENV has been replaced by %*ENV in Perl 6. Note that the keys of this hash may
Expand Down Expand Up @@ -319,7 +319,7 @@ Does not exist in Perl 6, but you can get the same information using C<$/[*-
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<[ ] routine|/routine/%5b%20%5d#language_documentation_operators>
=item L<Whatever|/type/Whatever>
Expand Down
8 changes: 4 additions & 4 deletions doc/Language/performance.pod
Expand Up @@ -17,7 +17,7 @@ L<"critical 3%"|https://en.wikiquote.org/wiki/Donald_Knuth> by "profiling" as ex
Expressions of the form C<now - INIT now>, where C<INIT> is a
L<phase in the running of a Perl 6 program|/language/phasers>, provide a great idiom for timing code snippets.
Use the C<m: your code goes here> L<#perl6 channel evalbot|http://doc.perl6.org/language/glossary#camelia>
Use the C<m: your code goes here> L<#perl6 channel evalbot|/language/glossary#camelia>
to write lines like:
m: say now - INIT now
Expand All @@ -28,7 +28,7 @@ because the latter occurs during L<the INIT phase|/language/phasers#INIT>.
=head2 Profile with C<prof-m: your code goes here>
Enter C<prof-m: your code goes here> in the L<#perl6 channel|http://doc.perl6.org/language/glossary#IRC>
Enter C<prof-m: your code goes here> in the L<#perl6 channel|/language/glossary#IRC>
to invoke a Perl 6 compiler with a C<--profile> option.
The evalbot's output includes a link to L<profile info|https://en.wikipedia.org/wiki/Profiling_(computer_programming)>:
Expand Down Expand Up @@ -85,8 +85,8 @@ Start by identifying the L<"critical 3%"|https://en.wikiquote.org/wiki/Donald_Kn
=head2 Line by line
A quick, fun, productive way to try improve code line-by-line is to collaborate with
others using the L<#perl6|http://doc.perl6.org/language/glossary#IRC> evalbot
L<camelia|http://doc.perl6.org/language/glossary#camelia>.
others using the L<#perl6|/language/glossary#IRC> evalbot
L<camelia|/glossary#camelia>.
=head2 Routine by routine
Expand Down

0 comments on commit 38f6ccd

Please sign in to comment.