Hmm. How about rewriting the old script so that it consists of one portion that does the work and produces @keywords and another that prints a report? The first part could then be used by both scripts - either as a full blown locally installed module or as a file that's simply required.
It's always a good idea to separate logic from output, even when you're not creating webpages. *grin*
Makeshifts last the longest. |