hi
I was returning a 1 "return 1;", I have changed it to "return;" I will see what happens. I also have tried undef'ing many of the data structures within the sub after I am done with them and before the sub returns. The funny thing is that in this sub, I am printing info to stdout and if I comment out of some of these print statements and then run, it works ok and completes, but when I print everything I need to STDOUT it dies.