<?xml version="1.0" encoding="windows-1252"?>
<node id="109670" title="Re: What is the error in my script or file setup?" created="2001-09-01 19:08:13" updated="2005-07-28 20:07:47">
<type id="11">
note</type>
<author id="961">
Anonymous Monk</author>
<data>
<field name="doctext">
I recently had a similar problem. The error is in your comparison ($i eq $list). Then the loop gets to the point that you are expecting a "Yes", the values of your variables are
$i="harv"
$list="harv\n"

I solved my problem by changing $i to include the carriage return. You could also solve this problem by using pattern matching rather than a straight comparison, or by chopping off the last character of the input lines.</field>
<field name="root_node">
960</field>
<field name="parent_node">
99278</field>
<field name="reputation">
5</field>
</data>
</node>
