in reply to Re^2: using lexically scoped variable as a filehandle
in thread using lexically scoped variable as a filehandle

agreed, shmem, i wish more people would follow that advice. even though 99% of the time close() will not fail, it's always that 1% that ends up biting you in the ass :o

__________
Systems development is like banging your head against a wall...
It's usually very painful, but if you're persistent, you'll get through it.