edit:shemp is absolutely correct... I didn't know you could do that. It is probably the best way to pull off what you want

your questions isn't 100% clear, but I think I understand your intentions

IHMO, the only way that making a package would be sensible, is if you were going to be using the same keyword list in multiple scripts, and there are a large amount of keywords

doing the following:
#package file package myKeywords; @list_of_words = qw(my list of words);

#User script use myKeywords; map {print $_ ."\n"} @myKeywords::list_of_words;
Would probably produce the result you wanted(minus your text processing)
To make a package(very rough pls no flames)