Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of https://github.com/perl6/doc
  • Loading branch information
dha committed Aug 16, 2015
2 parents 36239c9 + 0cec370 commit bb1f78d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/Language/5to6-perlfunc.pod
Expand Up @@ -778,7 +778,7 @@ Regular expression syntax is somewhat different in Perl 6, but the match
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
regex operators are adverbs and are complicated. For details, see
L<http://doc.perl6.org/language/regexes#Adverbs>
=head2 map
Expand Down Expand Up @@ -1112,7 +1112,7 @@ currently exist...
=item rename OLDNAME,NEWNAME
Still avialable in Perl 6.
Still available in Perl 6.
=head2 requires
Expand Down Expand Up @@ -1172,7 +1172,7 @@ Regular expression syntax is somewhat different in Perl 6, but the
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
Options for regex operators are adverbs and are complicated. For
details, see L<http://doc.perl6.org/language/regexes#Adverbs>
=head2 say
Expand All @@ -1184,7 +1184,7 @@ details, see L<http://doc.perl6.org/language/regexes#Adverbs>
=item say
C<say> can be used as a function, defaulting to standard out. To use
C<say> as a function with a filehndle I<instead> of standard out, you
C<say> as a function with a filehandle I<instead> of standard out, you
need to put a colon after the filehandle. I. e. C<say $fh: "Howdy!">.
The use of the colon as an "invocant marker" here is discussed at
L<http://design.perl6.org/S03.html#line_4019>. Alternately, you can use
Expand Down Expand Up @@ -1453,7 +1453,7 @@ C<study> is no more.
Unsurprisingly, we still have subroutines! You can have a signature in
your subroutine which allows you to specify arguments. Nevertheless, in
the absense of a signature (and only in the absence of a signature),
the absence of a signature (and only in the absence of a signature),
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
Expand Down
2 changes: 1 addition & 1 deletion lib/Language/5to6-perlop.pod
Expand Up @@ -122,7 +122,7 @@ These all work as in Perl 5.
C<==> and C<!=> both work as in Perl 5.
C<< <=> >> and C<cmp> have differnt behavior in Perl 6. C<< <=> >> does
C<< <=> >> and C<cmp> have different behavior in Perl 6. C<< <=> >> does
a numeric comparison, but returns <Order::Less>, <Order::Same>, or
<Order::More> instead of Perl 5's C<-1>, C<0>, or C<1>. To get the Perl
5 behavior (with the change that it returns the C<Order> objects, rather
Expand Down

0 comments on commit bb1f78d

Please sign in to comment.