in reply to Re^2: Index or iterate - your choice
in thread Index or iterate - your choice

I would still advocate using a tied filehandle for reading contents, since that is effectively a built-in iterator interface for byte streams.