<?xml version="1.0" encoding="windows-1252"?>
<node id="479573" title="Re: What is the problem of subroutine &quot;make_file&quot; in my code?" created="2005-07-30 00:25:05" updated="2005-08-13 09:51:08">
<type id="11">
note</type>
<author id="169829">
Enlil</author>
<data>
<field name="doctext">
I am still reading through your code, but the first thing i notice is:&lt;code&gt;
my @Motif = split(//,'$origin[$y]'); # This is a loop to get the motif template from origin8
&lt;/code&gt;

is probably not doing what you intended. You probably mean the following:

&lt;code&gt;
# This is a loop to get the motif template from origin8
my @Motif = split(//,$origin[$y]); 
&lt;/code&gt;

(note the missing single-quotes)
&lt;p&gt;
Also it might help if you give us a short bit of the long_sequences.txt so we can run your code.
&lt;p&gt;-enlil</field>
<field name="root_node">
479570</field>
<field name="parent_node">
479570</field>
</data>
</node>
