in reply to Breaking a Loop

Thanks for all your help guys, i rewrote the script using more subroutines, and after some re-ordering.. it worked out fine. Thanks again
Dipul Patel