diff options
author | A. Sinan Unur <nanis@cpan.org> | 2010-10-03 21:30:50 -0400 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2010-10-04 01:56:32 -0400 |
commit | d7d7fefda1ec0b9784e8148011dbac52e088dd91 (patch) | |
tree | f2a0e52499180f91b7d5837cfd8a58ba41d98cc8 /AUTHORS | |
parent | f8a8dd4929328c0c19bc1cfdf4c1b6e48abb0dcc (diff) | |
download | perl-d7d7fefda1ec0b9784e8148011dbac52e088dd91.tar.gz |
Further clarification on indirect filehandles
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#36612
39
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
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions