in reply to Re:Creating Keywords!

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)

Replies are listed 'Best First'.
Re: Re: Re:Creating Keywords!
by badhri (Initiate) on Aug 04, 2003 at 16:11 UTC
    Well, I guess I found a better and easier way to get around my initial hiccups without having to make a package or library. But I sure have learnt something from your replies for my unclear question! Thanx a lot Badhri