From: Brendan O'Dea Date: Fri, 11 Jan 2002 03:49:54 +0000 (+1100) Subject: doc fixes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=915425408a40baa68a3cc0c40c013f2947e7deb4;p=p5sagit%2Fp5-mst-13.2.git doc fixes Message-ID: <20020110164954.GA21891@compusol.com.au> p4raw-id: //depot/perl@14171 --- diff --git a/lib/I18N/Collate.pm b/lib/I18N/Collate.pm index d18a5a5..132b425 100644 --- a/lib/I18N/Collate.pm +++ b/lib/I18N/Collate.pm @@ -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. diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 4bd69a3..48c4849 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -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: