A recent discussion on Stackoverflow.com indicated to me that there is some potential for confusion in the "Indirect Filehandles" section in perlopentut.pod. See comments to http://stackoverflow.com/questions/3661161/writing-a-macro-in-perl/3661239#3661239 The attached patch is my attempt at clarifying that indirect filehandles are closed when there are no more references to them rather than simply when the end of the current lexical scope is reached. I also added an example of returning such a filehandle from a subroutine. I am not sure if this is the best way to word it, so I would appreciate feedback. The patch is attached. -- Sinan -- A. Sinan Unur http://www.unur.com/sinan/Thread Next