Skip to content

Commit 0cec370

Browse files
committed
fix minor typos
1 parent dead7d2 commit 0cec370

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/Language/5to6-perlfunc.pod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ Regular expression syntax is somewhat different in Perl 6, but the match
626626
operator still exists. If you're trying to rewrite some Perl 5 code, the
627627
most important difference is that C<=~> is replaced by the smart match
628628
operator, C<~~>. Similarly, C<!~> is replaced by C<!~~>. Options for
629-
regex operators are adverbs and are complicated. for details, see
629+
regex operators are adverbs and are complicated. For details, see
630630
L<http://doc.perl6.org/language/regexes#Adverbs>
631631
632632
=item map BLOCK LIST
@@ -896,7 +896,7 @@ currently exist...
896896
897897
=item rename OLDNAME,NEWNAME
898898
899-
Still avialable in Perl 6.
899+
Still available in Perl 6.
900900
901901
=item require VERSION
902902
@@ -940,7 +940,7 @@ Regular expression syntax is somewhat different in Perl 6, but the
940940
substitution operator exists. If you're trying to rewrite some
941941
Perl 5 code, the most important difference is that C<=~> is replaced
942942
by the smart match operator, C<~~>. Similarly, C<!~> is C<!~~>.
943-
Options for regex operators are adverbs and are complicated. for
943+
Options for regex operators are adverbs and are complicated. For
944944
details, see L<http://doc.perl6.org/language/regexes#Adverbs>
945945
946946
=item say FILEHANDLE
@@ -950,7 +950,7 @@ details, see L<http://doc.perl6.org/language/regexes#Adverbs>
950950
=item say
951951
952952
C<say> can be used as a function, defaulting to standard out. To use
953-
C<say> as a function with a filehndle I<instead> of standard out, you
953+
C<say> as a function with a filehandle I<instead> of standard out, you
954954
need to put a colon after the filehandle. I. e. C<say $fh: "Howdy!">.
955955
The use of the colon as an "invocant marker" here is discussed at
956956
L<http://design.perl6.org/S03.html#line_4019>. Alternately, you can use
@@ -1169,7 +1169,7 @@ C<study> is no more.
11691169
11701170
Unsurprisingly, we still have subroutines! You can have a signature in
11711171
your subroutine which allows you to specify arguments. Nevertheless, in
1172-
the absense of a signature (and only in the absence of a signature),
1172+
the absence of a signature (and only in the absence of a signature),
11731173
C<@_> still contains what is passed to the function. So, in theory, you
11741174
don't need to change that aspect of a function if porting from Perl 5 to
11751175
Perl 6 (although you should probably consider the option of using a

lib/Language/5to6-perlop.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ These all work as in Perl 5.
122122
123123
C<==> and C<!=> both work as in Perl 5.
124124
125-
C<< <=> >> and C<cmp> have differnt behavior in Perl 6. C<< <=> >> does
125+
C<< <=> >> and C<cmp> have different behavior in Perl 6. C<< <=> >> does
126126
a numeric comparison, but returns <Order::Less>, <Order::Same>, or
127127
<Order::More> instead of Perl 5's C<-1>, C<0>, or C<1>. To get the Perl
128128
5 behavior (with the change that it returns the C<Order> objects, rather

0 commit comments

Comments
 (0)