Ovid wrote:
>
I rewrite this code *all* the time (and always forget about "die if
extra_keys()").
"Repeated code is a mistake": I learned that lesson (from mjd, natch)
very well.
And as a result, got over any shame about putting simple code into
subroutines; then into modules, when I used it in more than one program;
then up on CPAN if I couldn't find anything lazier.
Before I embarrass myself by writing and uploading
something so simple and special-purpose, tell me there's something out
there already ...
That, IMHO, would be the only reason *not* to upload something to CPAN.
Perhaps you could flesh your example out a bit more; I wasn't entirely
clear on your objective.
jimk