Fix an example for LC_COLLATE in POSIX.pod that actually sets LC_ALL
Vincent Pit [Wed, 3 Mar 2010 13:48:58 +0000 (14:48 +0100)]
Spotted by Olivier Raginel.

ext/POSIX/POSIX.pod

index 5a2137c..64852e9 100644 (file)
@@ -1103,7 +1103,7 @@ Spanish. B<NOTE>: The naming and availability of locales depends on
 your operating system. Please consult L<perllocale> for how to find
 out which locales are available in your system.
 
-       $loc = setlocale( LC_ALL, "es_AR.ISO8859-1" );
+       $loc = setlocale( LC_COLLATE, "es_AR.ISO8859-1" );
 
 =item setpgid