in reply to Re: Determining what line a filehandle is on
in thread Determining what line a filehandle is on

Not to mention that $. only provides you with the lineno of the last filehandle read. If you are interspersing reads from 2+ files, this can come back and bite you. In these cases, it's much easier to maintain an index for each file.

Mark.

  • Comment on Re: Re: Determining what line a filehandle is on