On Sun, Jan 8, 2012 at 7:09 PM, Ricardo SIGNES via RT <perlbug-comment@perl.org> wrote: > > tl;dr, some edges are best left explained anew each time I think the existing documentation could be stronger without getting into the details, however. perldata now: ...The filehandle is left open pointing to the line after __DATA__. It is the program's responsibility to C<close DATA> when it is done reading from it. Perhaps that could be: ...The filehandle is left open pointing to the line after __DATA__. The program should C<close DATA> when it is done reading from it. Leaving it open leaks filehandles if the module is reloaded for any reason, so it's a safer practice to close it. I'm not sure if we need to explain why since reloading is pretty rare, but we could with a single sentence like that if we chose to. -- DavidThread Previous | Thread Next