<?xml version="1.0" encoding="windows-1252"?>
<node id="303011" title="Re: Re: Re: CGI file writing" created="2003-10-29 09:27:47" updated="2005-06-15 01:19:44">
<type id="11">
note</type>
<author id="74129">
barrd</author>
<data>
<field name="doctext">
Hi [mcogan1966],&lt;br&gt;
How I normally get around this is either create a module &lt;code&gt;.pm&lt;/code&gt; which can be included in any dir in &lt;code&gt;@INC&lt;/code&gt; and called with &lt;code&gt;use Foo::Bar;&lt;/code&gt;. Or a library &lt;code&gt;.pl&lt;/code&gt; called with &lt;code&gt;require /path/to/baz.pl;&lt;/code&gt;.
&lt;p&gt;
You would then make filenames and paths variables which are read in from the file making it portable throughout many systems without having to touch the script itself.</field>
<field name="root_node">
302992</field>
<field name="parent_node">
303002</field>
</data>
</node>
