Skip to content

Commit f5bcc41

Browse files
committed
consistent indentation; minor grammar improvement
1 parent 51a92da commit f5bcc41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/Perl6/Perl5/Differences.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,14 @@ You can still say C<sort(@array)> if you prefer the non-OO idiom.
395395
Since both builtin functions and operators are multi subs and methods,
396396
changing their behaviour for particular types is a simple as adding the
397397
appropriate multi subs and methods. If you want these to be globally
398-
available, well, you can't, because everything lexically scoped in Perl 6.
398+
available, well, you can't, because everything is lexically scoped in Perl 6.
399399
You can, however, export multi definitions to any code that wishes to import it.
400400

401401
class TurkishStr {
402-
multi sub uc(TurkishStr $str) is export { ... }
402+
multi sub uc(TurkishStr $str) is export { ... }
403403

404-
# overload the string concatenation:
405-
multi sub infix:<~>(TurkishStr $us, TurkishStr $them) is export { ... }
404+
# overload the string concatenation:
405+
multi sub infix:<~>(TurkishStr $us, TurkishStr $them) is export { ... }
406406
}
407407

408408
If you want to offer a type cast to a particular type, just provide a method

0 commit comments

Comments
 (0)