in reply to Re: Help needed to make a conditional statement
in thread Help needed to make a conditional statement

One additional note, You can also add 1 to %data for the input and 2 to %data for the db.
Now your hash would look as followes:

%data = { 1=>1, 3=>3, 5=>3, 6=>2}
As you can see, now you can distinguish between keys from each array as
well as the union between the two.

needles
  • Comment on Re: Re: Help needed to make a conditional statement

Replies are listed 'Best First'.
Re: Re: Re: Help needed to make a conditional statement
by jonnyfolk (Vicar) on Dec 05, 2002 at 15:56 UTC
    Thanks for your input. I have actually gone with fever's grep solution but I will give this a try to see if I can get my head round it!!