doc fixes
authorBrendan O'Dea <bod@debian.org>
Fri, 11 Jan 2002 03:49:54 +0000 (14:49 +1100)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 10 Jan 2002 19:29:08 +0000 (19:29 +0000)
Message-ID: <20020110164954.GA21891@compusol.com.au>

p4raw-id: //depot/perl@14171

lib/I18N/Collate.pm
pod/perlfunc.pod

index d18a5a5..132b425 100644 (file)
@@ -7,6 +7,15 @@ our $VERSION = '1.00';
 
 I18N::Collate - compare 8-bit scalar data according to the current locale
 
+=head1 SYNOPSIS
+
+    use I18N::Collate;
+    setlocale(LC_COLLATE, 'locale-of-your-choice'); 
+    $s1 = new I18N::Collate "scalar_data_1";
+    $s2 = new I18N::Collate "scalar_data_2";
+
+=head1 DESCRIPTION
+
   ***
 
   WARNING: starting from the Perl version 5.003_06
@@ -24,15 +33,6 @@ I18N::Collate - compare 8-bit scalar data according to the current locale
 
   ***
 
-=head1 SYNOPSIS
-
-    use I18N::Collate;
-    setlocale(LC_COLLATE, 'locale-of-your-choice'); 
-    $s1 = new I18N::Collate "scalar_data_1";
-    $s2 = new I18N::Collate "scalar_data_2";
-
-=head1 DESCRIPTION
-
 This module provides you with objects that will collate 
 according to your national character set, provided that the 
 POSIX setlocale() function is supported on your system.
index 4bd69a3..48c4849 100644 (file)
@@ -4666,7 +4666,7 @@ Using the empty pattern C<//> specifically matches the null string, and is
 not be confused with the use of C<//> to mean "the last successful pattern
 match".
 
-Empty leading (or trailing) fields are produced when there positive width
+Empty leading (or trailing) fields are produced when there are positive width
 matches at the beginning (or end) of the string; a zero-width match at the
 beginning (or end) of the string does not produce an empty field.  For
 example: