Install Perl 5.8.8
[msysgit.git] / mingw / html / lib / Text / Abbrev.html
blob4ba6cf67b5ce812d07140094594b75897c737d5e
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>abbrev - create an abbreviation table from a list</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;abbrev - create an abbreviation table from a list</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 <li><a href="#example">EXAMPLE</a></li>
26 </ul>
27 <!-- INDEX END -->
29 <hr />
30 <p>
31 </p>
32 <h1><a name="name">NAME</a></h1>
33 <p>abbrev - create an abbreviation table from a list</p>
34 <p>
35 </p>
36 <hr />
37 <h1><a name="synopsis">SYNOPSIS</a></h1>
38 <pre>
39 use Text::Abbrev;
40 abbrev $hashref, LIST</pre>
41 <p>
42 </p>
43 <hr />
44 <h1><a name="description">DESCRIPTION</a></h1>
45 <p>Stores all unambiguous truncations of each element of LIST
46 as keys in the associative array referenced by <code>$hashref</code>.
47 The values are the original list elements.</p>
48 <p>
49 </p>
50 <hr />
51 <h1><a name="example">EXAMPLE</a></h1>
52 <pre>
53 $hashref = abbrev qw(list edit send abort gripe);</pre>
54 <pre>
55 %hash = abbrev qw(list edit send abort gripe);</pre>
56 <pre>
57 abbrev $hashref, qw(list edit send abort gripe);</pre>
58 <pre>
59 abbrev(*hash, qw(list edit send abort gripe));</pre>
60 <table border="0" width="100%" cellspacing="0" cellpadding="3">
61 <tr><td class="block" style="background-color: #cccccc" valign="middle">
62 <big><strong><span class="block">&nbsp;abbrev - create an abbreviation table from a list</span></strong></big>
63 </td></tr>
64 </table>
66 </body>
68 </html>