in reply to Re:Creating Keywords!
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);
Would probably produce the result you wanted(minus your text processing)#User script use myKeywords; map {print $_ ."\n"} @myKeywords::list_of_words;
may do the trick for the simple package above.use ExtUtils::MakeMaker; WriteMakefile('NAME' => 'myKeywords');
perl makefile.pl make make test
make install
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re:Creating Keywords!
by badhri (Initiate) on Aug 04, 2003 at 16:11 UTC |