As for mode not being set...while unfortunate, that wasn't causing the problem (though it did cause incorrect results). The next after the recursive call did it though. Sometimes a guy just needs a second set of eyes. Thanks!
thor
Comment on Re: Re: Recursive file opening: reading an undef at the end of file