Thank you both for your replies. So, I tried IO::File, and now $_ in the while loop contains "IO::File=GLOB(0xa1f08c4)". I hope I'm not being terribly dim here - I really appreciate your help, but this doesn't quite get me there yet. Any other hints?