<?xml version="1.0" encoding="windows-1252"?>
<node id="554862" title="Re: use variable from main file in a 'require'd file?" created="2006-06-12 14:06:23" updated="2006-06-12 10:06:23">
<type id="11">
note</type>
<author id="491819">
ioannis</author>
<data>
<field name="doctext">
There are more solutions. But let's
remember the root of our troubles: the scope of the &lt;b&gt;my&lt;/b&gt; 
operator does not extend to other files; it is not (directly)
visible by 'subs.pl', regardless if the file is loaded dynamically
with &lt;i&gt;require&lt;/i&gt; or compiled early with &lt;i&gt;use&lt;/i&gt;.</field>
<field name="root_node">
554851</field>
<field name="parent_node">
554851</field>
</data>
</node>
