Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> |
2 | <html> | |
3 | <head> | |
4 | <title>MHonArc Resources: PERLINC</title> | |
5 | </head> | |
6 | <body> | |
7 | <!--x-rc-nav--> | |
8 | <table border=0><tr valign="top"> | |
9 | <td align="left" width="50%">[Prev: <a href="outdir.html">OUTDIR</a>]</td><td><nobr>[<a href="../resources.html#perlinc">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="posixstrftime.html">POSIXSTRFTIME</a>]</td></tr></table> | |
10 | <!--/x-rc-nav--> | |
11 | <hr> | |
12 | <h1>PERLINC</h1> | |
13 | ||
14 | <!-- *************************************************************** --> | |
15 | <hr> | |
16 | <h2>Syntax</h2> | |
17 | ||
18 | <dl> | |
19 | ||
20 | <dt><strong>Envariable</strong></dt> | |
21 | <dd><p> | |
22 | <code>M2H_PERLINC=</code><var>path1</var><code>:</code><var | |
23 | >path2</var><code>:</code><var>...</var><code>:</code><var | |
24 | >pathN</var> | |
25 | </p> | |
26 | </dd> | |
27 | ||
28 | <dt><strong>Element</strong></dt> | |
29 | <dd><p> | |
30 | <code><PERLINC><br></code> | |
31 | <var>path1</var><code>:</code><var>path2</var><code>:</code><var | |
32 | >...</var><br> | |
33 | <var>pathi</var><code>:</code><var>...</var><code>:</code><var | |
34 | >pathN</var><br> | |
35 | <code></PERLINC><br></code> | |
36 | </p> | |
37 | </dd> | |
38 | ||
39 | <dt><strong>Command-line Option</strong></dt> | |
40 | <dd><p> | |
41 | <code>-perlinc </code><var>path1</var><code>:</code><var | |
42 | >path2</var><code>:</code><var>...</var><code>:</code><var | |
43 | >pathN</var> | |
44 | </p> | |
45 | </dd> | |
46 | ||
47 | </dl> | |
48 | ||
49 | <!-- *************************************************************** --> | |
50 | <hr> | |
51 | <h2>Description</h2> | |
52 | ||
53 | <p>PERLINC defines a list of paths to search for MIME filters. | |
54 | When setting | |
55 | the PERLINC resource, the filenames are separated by colons | |
56 | (or semicolons under MSDOS/Windows). Line-breaks can be used | |
57 | to separate filenames if setting PERLINC via the | |
58 | <code>PERLINC</code> element. | |
59 | </p> | |
60 | ||
61 | <p>PERLINC augments the <code><strong>@INC</strong></code> | |
62 | array in Perl. The paths listed in PERLINC will be searched | |
63 | before the paths in <code><strong>@INC</strong></code>. | |
64 | </p> | |
65 | ||
66 | <dl> | |
67 | <dt><strong>NOTE</strong></dt> | |
68 | <dd><p>During the installation of <em>MHonArc</em>, the | |
69 | <em>MHonArc</em> library location gets prepended to | |
70 | <code><strong>@INC</strong></code>. | |
71 | </p> | |
72 | </dd> | |
73 | </dl> | |
74 | ||
75 | <!-- *************************************************************** --> | |
76 | <hr> | |
77 | <h2>Default Setting</h2> | |
78 | ||
79 | <p>Empty. | |
80 | </p> | |
81 | ||
82 | <!-- *************************************************************** --> | |
83 | <hr> | |
84 | <h2>Resource Variables</h2> | |
85 | ||
86 | <p>N/A | |
87 | </p> | |
88 | ||
89 | <!-- *************************************************************** --> | |
90 | <hr> | |
91 | <h2>Examples</h2> | |
92 | ||
93 | <p>When hooking in your own MIME filters, you may want to | |
94 | put all the source libraries in a single location for maintenance | |
95 | purposes. Therefore, you will need to define PERLINC similiar | |
96 | to the following: | |
97 | </p> | |
98 | ||
99 | <pre> | |
100 | <b><PerlINC></b> | |
101 | /usr/local/lib/MHonArc/filters | |
102 | <b></PerlINC></b> | |
103 | </pre> | |
104 | ||
105 | <!-- *************************************************************** --> | |
106 | <hr> | |
107 | <h2>Version</h2> | |
108 | ||
109 | <p>1.0 | |
110 | </p> | |
111 | ||
112 | <!-- *************************************************************** --> | |
113 | <hr> | |
114 | <h2>See Also</h2> | |
115 | ||
116 | <p> | |
117 | <a href="mimefilters.html">MIMEFILTERS</a> | |
118 | </p> | |
119 | ||
120 | <!-- *************************************************************** --> | |
121 | <hr> | |
122 | <!--x-rc-nav--> | |
123 | <table border=0><tr valign="top"> | |
124 | <td align="left" width="50%">[Prev: <a href="outdir.html">OUTDIR</a>]</td><td><nobr>[<a href="../resources.html#perlinc">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="posixstrftime.html">POSIXSTRFTIME</a>]</td></tr></table> | |
125 | <!--/x-rc-nav--> | |
126 | <hr> | |
127 | <address> | |
128 | $Date: 2002/07/27 05:13:11 $ <br> | |
129 | <img align="top" src="../monicon.png" alt=""> | |
130 | <a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br> | |
131 | Copyright © 1997-1998, <a href="http://www.earlhood.com/">Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org">mhonarc@mhonarc.org</a><br> | |
132 | </address> | |
133 | ||
134 | </body> | |
135 | </html> |