-----Original Message----- From: Robert Rothenberg <r...@fastmail.net> Reply-To: Robert Rothenberg at CPAN <r...@cpan.org> Date: Thu, 16 Jun 2011 21:23:50 +0100 To: Perl Module Authors List <module-authors@perl.org> Subject: Need suggestions for a module name
>While debugging a project that generated a lot of temporary files, I came >upon a nifty idea: rather than name the temporary files the usual random >strings, why not have the files named by the method/function that created >them, e.g. instead of something like /tmp/Hf6254d85.txt, why not call it >/tmp/Some_Package_Name/text_analysing_function-Hf6254d85.txt. > >Anyhow, I think this might be something worth uploading to CPAN. > >So what should it be called? > >I was thinking of something like File::Temp::Smart, for lack of a better >name. But I am open to better ideas. > >Suggestions? > >Rob Rob, rather than creating a brand new module for this, perhaps you could work with Tim Jenness to add this functionality to the existing File::Temp module as a non-default exported function and/or OO interface method? It seems like it would be useful enough that it would be fairly common for folks to use, once they realize what it is, so why make them install yet another module (assuming he agrees, of course). Obviously it could be done using the existing template functions, but to do it automatically with an option to use directories or just the file name would certainly save a lot of time & code rewriting, at least IMHO. I know I've done it at least 3 or 4 times, as recently as 3 weeks ago. Just a thought, Bob