Skip to content

Commit

Permalink
[cpan] Perl6-Str: fixed three typos
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://faui2k3.org/var/lib/svn/moritz/cpan/Perl6-Str@723 addfbb1e-f4f9-0310-b6f0-bccd0f9b8dc6
  • Loading branch information
moritz committed Jul 21, 2008
1 parent b844905 commit 363b4cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Perl6/Str.pm
Expand Up @@ -231,11 +231,11 @@ Perl6::Str - Grapheme level string implementation for Perl 5
use Perl6::Str;
use charnames qw(:full);
my $s = Perl6::Str->new("a\N{COMBING ACUTE ACCENT}");
my $s = Perl6::Str->new("a\N{COMBINING ACUTE ACCENT}");
my $other = "\N{LATIN SMALL LETTER A WITH ACUTE}";
if ($s eq $other) {
print "Equality compared as grapheme level\n";
print "Equality compared at grapheme level\n";
}
# just one grapheme:
Expand Down Expand Up @@ -270,7 +270,7 @@ C<Perl6::Str> is implemented in terms of a blessed reference to the
underlying perl 5 string, and all operations are either overloaded operators
or method calls. That means that the objects loose all their magic once they
are interpolated into ordinary strings, and that all overloaded operations
come with a speed panelty.
come with a speed penalty.
Also note that it's another layer of abstraction, and as such suffers a speed
limit for all operations. If speed is important to you, benchmark this module
Expand Down

0 comments on commit 363b4cf

Please sign in to comment.