2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
5 <title>locale - Perl pragma to use and avoid POSIX locales for built-in operations
</title>
6 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
7 <link rev=
"made" href=
"mailto:" />
10 <body style=
"background-color: white">
11 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
12 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
13 <big><strong><span class=
"block"> locale - Perl pragma to use and avoid POSIX locales for built-in operations
</span></strong></big>
17 <p><a name=
"__index__"></a></p>
22 <li><a href=
"#name">NAME
</a></li>
23 <li><a href=
"#synopsis">SYNOPSIS
</a></li>
24 <li><a href=
"#description">DESCRIPTION
</a></li>
31 <h1><a name=
"name">NAME
</a></h1>
32 <p>locale - Perl pragma to use and avoid POSIX locales for built-in operations
</p>
36 <h1><a name=
"synopsis">SYNOPSIS
</a></h1>
38 @x = sort @y; # ASCII sorting order
41 @x = sort @y; # Locale-defined sorting order
43 @x = sort @y; # ASCII sorting order again
</pre>
47 <h1><a name=
"description">DESCRIPTION
</a></h1>
48 <p>This pragma tells the compiler to enable (or disable) the use of POSIX
49 locales for built-in operations (LC_CTYPE for regular expressions, and
50 LC_COLLATE for string comparison). Each ``use locale'' or ``no locale''
51 affects statements to the end of the enclosing BLOCK.
</p>
52 <p>See
<a href=
"file://C|\msysgit\mingw\html/pod/perllocale.html">the perllocale manpage
</a> for more detailed information on how Perl supports
54 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
55 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
56 <big><strong><span class=
"block"> locale - Perl pragma to use and avoid POSIX locales for built-in operations
</span></strong></big>