From: Rafael Garcia-Suarez Date: Sat, 14 Nov 2009 22:44:31 +0000 (+0100) Subject: POD fixes and typos X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a994735a4fa995455a5ea88692fde0d4ca2ecc17;p=p5sagit%2Fp5-mst-13.2.git POD fixes and typos --- diff --git a/lib/legacy.pm b/lib/legacy.pm index 3ffea69..66ddc00 100755 --- a/lib/legacy.pm +++ b/lib/legacy.pm @@ -13,8 +13,7 @@ my %legacy = ( 'unicode8bit' => '0' ); =head1 NAME -legacy - Perl pragma to preserve legacy behaviors or enable new non-default -behaviors +legacy - Perl pragma to preserve legacy behaviors or enable new non-default behaviors =head1 SYNOPSIS @@ -65,7 +64,7 @@ This behavior stems from when Perl did not support Unicode, and ASCII was the only known character set outside of C>. In order to not possibly break pre_Unicode programs, these characters have retained their old non-meanings, except when it is clear to Perl that Unicode is what is meant, -for example by calling utf::upgrade() on a scalar, or if the scalar also +for example by calling utf8::upgrade() on a scalar, or if the scalar also contains characters that are only available in Unicode. Then these 128 characters take on their Unicode meanings. @@ -78,22 +77,20 @@ The behavior is known to have effects on these areas: =over 4 -=item +=item * -Changing the case of a scalar, that is, using C, -C, -C, +Changing the case of a scalar, that is, using C, C, C, and C, or C<\L>, C<\U>, C<\u> and C<\l> in regular expression substitutions. -=item +=item * Using caseless (C) regular expression matching -=item +=item * Matching a number of properties in regular expressions, such as C<\w> -=item +=item * User-defined case change mappings. You can create a C function, for example, which overrides Perl's built-in case mappings. The scalar must be