jesse wrote: > >> >From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=378328: >> >> pod2html does not remove temporary files before exiting: >> >> $ ls -a >> . .. >> $ pod2html /dev/null > /dev/null >> $ ls -a >> . .. pod2htmd.tmp pod2htmi.tmp >> > > Verified as still being an issue on blead. Is there a reason Pod::Html > doesn't use File::Temp? I had a look at the code again. These temporary files are in fact caches, that allow subsequent runs of pod2html to insert cross references to POD it already knows about. (Mind you, how it works (or not) is a mystery to me). Ideally, these cache files would be stored long-term in a shared directory somewhere so that subsequent runs of pod2html could refer to them. Afterwards, any CPAN module that contains a link e.g., SEE ALSO L<perlipc>, could have its documentation HTMLified and linkified correctly. In the grand scheme of things, what I really wanted to do with this module was to be able to cross off the "make HTML install work" perltodo item. If you want, I could produce sync patches against blead as is, and it could go out the door with 5.11.1 Otherwise, in the test suite I wrote, these temp files are cleaned up. Feel free to steal them for the time being. David -- naked, but wearing blinding lights! were it a pretty girl, she'd be surrounded as a flame by mothsThread Previous | Thread Next