> Hi, Howdy > > I have written a perl program that is supposed to search for > a set of customer details on our database and return them 1 > after the other. The problem is that it is returning the > customers as well as cdetail id, type, checksum. The problem > is that is returning the checksum the same amount of times as > the number of the account (ie) account number 222222222 > returns the cdetail, type, checksum line twice - account > number 333333333 returns the cdetail, type, checksum line 3 > times, and so on. I don't mind it looking for the cdetail, > type, checksum line once but why is it doing it like this. I
If by 'this' you mean returning the checksum line more than once it's because you tell it to do that inside a loop. So it will do it Everytime the loop runs. > am very new to Perl and have used part of another script to > make this so please excuse my ignorance. Please see attached > mcp6.pl which is my script and test6.xml which displays the results. > > Thanks in advance > McP > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]