On Thu, Jul 01, 1999 at 03:23:41PM -0400, Chaim Frenkel wrote: > >>>>> "VB" == Vicki Brown <vlb@cfcl.com> writes: > > VB> The input data file looked like: > > VB> g1840610 417 417 { 1-417 } Initial 1.3 > VB> HINT: The previous data values looked like this > VB> 7500123N 417 417 { 1-417 } Initial 1.3 > > VB> if (($field1 == $prev_clone) || ($i == 1)) { > > VB> Do you see the bug? > > The changed data made the problem obvious. I thought it was obvious even without the changed data. :) The big hint was that she kept getting "Part of same ID" every time. This suggests that there is a bug in comparing the current id to the previous id -- and that is indeed the bug. Having the code itself to look at was almost too much! *grin* Ronald ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org