<?xml version="1.0" encoding="windows-1252"?>
<node id="649365" title="Re: syntax error near &quot;){&quot;" created="2007-11-06 18:24:20" updated="2007-11-06 13:24:20">
<type id="11">
note</type>
<author id="345630">
Errto</author>
<data>
<field name="doctext">
&lt;p&gt;It looks like you're trying to perform a [http://www.mattkruse.com/info/ssi/|server side include].  This allows you to include the output of a CGI program in an otherwise static HTML page.  But what you have here is not an HTML page but rather another CGI program.  You can achieve this result, somewhat primitively, using the [doc://do] function in Perl.&lt;/p&gt;
&lt;p&gt;That should be enough to get you started.  But I'd suggest taking this CGI  you're trying to include and turn it into a module whose functions you can call from your main script.  Try [Simple Module Tutorial] for starters if you're not familiar with modules.&lt;/p&gt;</field>
<field name="root_node">
649179</field>
<field name="parent_node">
649179</field>
</data>
</node>
