Install Perl 5.8.8
[msysgit.git] / mingw / html / lib / if.html
bloba6ef32708dfdbf830775b0a3ee533b2921978762
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>if - C&lt;use&gt; a Perl module if a condition holds</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;if - C&lt;use&gt; a Perl module if a condition holds</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="#bugs">BUGS</a></li>
26 <li><a href="#author">AUTHOR</a></li>
27 </ul>
28 <!-- INDEX END -->
30 <hr />
31 <p>
32 </p>
33 <h1><a name="name">NAME</a></h1>
34 <p>if - <a href="file://C|\msysgit\mingw\html/pod/perlfunc.html#item_use"><code>use</code></a> a Perl module if a condition holds</p>
35 <p>
36 </p>
37 <hr />
38 <h1><a name="synopsis">SYNOPSIS</a></h1>
39 <pre>
40 use if CONDITION, MODULE =&gt; ARGUMENTS;</pre>
41 <p>
42 </p>
43 <hr />
44 <h1><a name="description">DESCRIPTION</a></h1>
45 <p>The construct</p>
46 <pre>
47 use if CONDITION, MODULE =&gt; ARGUMENTS;</pre>
48 <p>has no effect unless <code>CONDITION</code> is true. In this case the effect is
49 the same as of</p>
50 <pre>
51 use MODULE ARGUMENTS;</pre>
52 <p>Above <code>=&gt;</code> provides necessary quoting of <code>MODULE</code>. If not used (e.g.,
53 no ARGUMENTS to give), you'd better quote <code>MODULE</code> yourselves.</p>
54 <p>
55 </p>
56 <hr />
57 <h1><a name="bugs">BUGS</a></h1>
58 <p>The current implementation does not allow specification of the
59 required version of the module.</p>
60 <p>
61 </p>
62 <hr />
63 <h1><a name="author">AUTHOR</a></h1>
64 <p>Ilya Zakharevich <em><a href="mailto:mailto:perl-module-if@ilyaz.org">mailto:perl-module-if@ilyaz.org</a></em>.</p>
65 <table border="0" width="100%" cellspacing="0" cellpadding="3">
66 <tr><td class="block" style="background-color: #cccccc" valign="middle">
67 <big><strong><span class="block">&nbsp;if - C&lt;use&gt; a Perl module if a condition holds</span></strong></big>
68 </td></tr>
69 </table>
71 </body>
73 </html>