Re: array of elements

2003-10-28 Thread Andrew Gaffney
Steve Grazzini wrote: On Mon, Oct 27, 2003 at 09:52:20PM -0600, Andrew Gaffney wrote: I have an array of keywords that I need to generate. I have 2 separate input files. The first one contains the defaults. The second input file contains additions and overrides. For example, first input: key1 k

Re: array of elements

2003-10-27 Thread Steve Grazzini
On Mon, Oct 27, 2003 at 09:52:20PM -0600, Andrew Gaffney wrote: > I have an array of keywords that I need to generate. I have 2 separate > input files. The first one contains the defaults. The second input file > contains additions and overrides. For example, first input: > > key1 key2 key3 key4

Re: array of elements

2003-10-27 Thread Andrew Gaffney
How would I go about this? simran wrote: a way i can think of is: * read first file and put keys in hash (%h) * read second file and add/delete from hash (%h) as needed * print keys of %h On Tue, 2003-10-28 at 14:52, Andrew Gaffney wrote: I have an array of keywords that I need to generate. I