<?xml version="1.0" encoding="windows-1252"?>
<node id="1012173" title="Re: Calling Subroutines From Another File: Path Problem" created="2013-01-08 01:53:57" updated="2013-01-08 01:53:57">
<type id="11">
note</type>
<author id="968231">
Athanasius</author>
<data>
<field name="doctext">
&lt;p&gt;Here are some options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Place &lt;c&gt;use lib 'C:DIR1/DIR2/DIR3';&lt;/c&gt; near the beginning of &lt;c&gt;File1.pl&lt;/c&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Invoke &lt;c&gt;perl&lt;/c&gt; with a &lt;c&gt;-I&lt;/c&gt; command-line option:&lt;/p&gt;
&lt;c&gt;
perl -IC:/DIR1/DIR2/DIR3 File.pl
&lt;/c&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add &lt;c&gt;C:/DIR1/DIR2/DIR3&lt;/c&gt; to the system environment variable &lt;c&gt;PERL5LIB&lt;/c&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;See [doc://perlrun].&lt;/p&gt;

&lt;p&gt;Hope that helps,&lt;/p&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-968231"&gt;
&lt;p&gt;
&lt;table width="100%"&gt;
&lt;tr&gt;
  &lt;td align="left"&gt;
    Athanasius&amp;emsp;&lt;font color="#008000"&gt;&amp;lt;&lt;/font&gt;[href://http://www.biblegateway.com/passage/?search=John%203:16&amp;version=NLV|&lt;font color="#008000"&gt;&amp;deg;&lt;/font&gt;]&lt;font color="#008000"&gt;(((&amp;gt;&amp;lt;&lt;/font&gt;&amp;emsp;&lt;i&gt;contra mundum&lt;/i&gt;
  &lt;/td&gt;
  &lt;td align="right"&gt;
    [href://http://translate.google.com.au/#la/en/Iustus%20alius%20egestas%20vitae%2C%20eros%20Piratica%2C|&lt;b&gt;Iustus alius egestas vitae, eros Piratica,&lt;/b&gt;]
  &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1012160</field>
<field name="parent_node">
1012160</field>
</data>
</node>
