This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Small corrections in perlsyn, less one identified by tomc++.
authorSHIRAKATA Kentaro <argrath@ub32.org>
Sun, 16 Jun 2013 06:39:41 +0000 (15:39 +0900)
committerJames E Keenan <jkeenan@cpan.org>
Sun, 16 Jun 2013 12:42:07 +0000 (14:42 +0200)
For: RT #118495

pod/perlsyn.pod

index eba6cee..84a0e2a 100644 (file)
@@ -84,7 +84,7 @@ operator:
 
 That now parses as you'd expect, but you still ought to get in the habit of
 using parentheses in that situation.  For more on prototypes, see
-L<perlsub>
+L<perlsub>.
 
 Subroutines declarations can also be loaded up with the C<require> statement
 or both loaded and imported into your namespace with a C<use> statement.
@@ -1199,7 +1199,7 @@ this works in Perl 5:
     say "that's all, folks!";
 
 But it doesn't work at all in Perl 6.  Instead, you should
-use the (parallelizable) C<any> operator instead:
+use the (parallelizable) C<any> operator:
 
    if any(@primary) eq "red" {
        say "primary smartmatches red";