Steve Peters <[EMAIL PROTECTED]> writes:

> Thanks!  I've added add podlators-2.0.2 as change #26988.

I've gotten one report that this causes problems on Windows in the test
suite because Pod::Simple doesn't close the output file handle it opens
and the script then can't remove the temporary files because Pod::Simple
still has them open.

I'm going to try to do a quick patch that works around this in the test
suite for now, but I think it has to get fixed in Pod::Simple to really
work.  The only way that I can work around it is to pass in a file handle
instead of a file name so that I have something I can then close, which is
a little annoying.

I already mailed Allison about this and she proposed closing the file
handle in reinit.  The tricky bit is that it needs to only be closed if
the caller passed in a filename (meaning that Pod::Simple opened the file
itself) and not if the caller passed in a file handle that the caller had
opened.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to