<?xml version="1.0" encoding="windows-1252"?>
<node id="1007547" title="Re: Why do multiple requires not work?" created="2012-12-06 06:53:58" updated="2012-12-06 06:53:58">
<type id="11">
note</type>
<author id="190859">
bart</author>
<data>
<field name="doctext">
You can't use slashes in the name of the required file. You can use either double colons, and no file extension (".pm" is assumed), or you can use a string (a quoted literal or a variable) with a path with slashes and &lt;em&gt;with&lt;/em&gt; file extension.

So you can do

&lt;c&gt;
require "/a/b/script";
&lt;/c&gt; 

if it has no file extension, or 

&lt;c&gt;
require "/a/b/script.pl";
&lt;/c&gt; 

if it has ".pl" as file extension.
</field>
<field name="root_node">
1007543</field>
<field name="parent_node">
1007543</field>
</data>
</node>
