Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix minor typos
  • Loading branch information
stmuk committed Aug 16, 2015
1 parent dead7d2 commit 0cec370
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 @@ -626,7 +626,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>
=item map BLOCK LIST
Expand Down Expand Up @@ -896,7 +896,7 @@ currently exist...
=item rename OLDNAME,NEWNAME
Still avialable in Perl 6.
Still available in Perl 6.
=item require VERSION
Expand Down Expand Up @@ -940,7 +940,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>
=item say FILEHANDLE
Expand All @@ -950,7 +950,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 @@ -1169,7 +1169,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 0cec370

Please sign in to comment.