On the previous problem with the printf, I realized I was mixing my FORTRAN and Perl together. (Man - too many languages running around in my head. :-) ). I should have used "%d" instead of "%i". So let me ask this: Why did it produce a "1" when the "%i" was used? Still curious. :-)