<?xml version="1.0" encoding="windows-1252"?>
<node id="1007546" title="Re: Why do multiple requires not work?" created="2012-12-06 06:52:37" updated="2012-12-06 06:52:37">
<type id="11">
note</type>
<author id="84630">
DrHyde</author>
<data>
<field name="doctext">
&lt;p&gt;&lt;code&gt;require&lt;/code&gt; checks %INC to see if a file has already been loaded.  This is explained in the documentation.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;use&lt;/code&gt; also checks %INC (because it is exactly equivalent to &lt;code&gt;BEGIN { require Module; Module-&gt;import( LIST ); }&lt;/code&gt;) but regardless of whether the module was already loaded or not it still calls the &lt;code&gt;import()&lt;/code&gt; method.&lt;/p&gt;</field>
<field name="root_node">
1007543</field>
<field name="parent_node">
1007543</field>
</data>
</node>
