in reply to Re: Using an array of file handles
in thread Using an array of file handles

Thanks Athanasius. Yes, readline is actually what I used to work around my problem, as I mentioned in my original post, but I was looking for a solution with the diamond operator. It appears that it can't work directly with a filehanbdle that is stored as an array or hash element, so that either readline or an intermediate variable is required.