Install Perl 5.8.8
[msysgit.git] / mingw / html / lib / locale.html
blob12e035d5288315d681fd442ae78ad5ec4ba4addc
1 <?xml version="1.0" ?>
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">
4 <head>
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:" />
8 </head>
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">&nbsp;locale - Perl pragma to use and avoid POSIX locales for built-in operations</span></strong></big>
14 </td></tr>
15 </table>
17 <p><a name="__index__"></a></p>
18 <!-- INDEX BEGIN -->
20 <ul>
22 <li><a href="#name">NAME</a></li>
23 <li><a href="#synopsis">SYNOPSIS</a></li>
24 <li><a href="#description">DESCRIPTION</a></li>
25 </ul>
26 <!-- INDEX END -->
28 <hr />
29 <p>
30 </p>
31 <h1><a name="name">NAME</a></h1>
32 <p>locale - Perl pragma to use and avoid POSIX locales for built-in operations</p>
33 <p>
34 </p>
35 <hr />
36 <h1><a name="synopsis">SYNOPSIS</a></h1>
37 <pre>
38 @x = sort @y; # ASCII sorting order
40 use locale;
41 @x = sort @y; # Locale-defined sorting order
43 @x = sort @y; # ASCII sorting order again</pre>
44 <p>
45 </p>
46 <hr />
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
53 locales.</p>
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">&nbsp;locale - Perl pragma to use and avoid POSIX locales for built-in operations</span></strong></big>
57 </td></tr>
58 </table>
60 </body>
62 </html>