Peter Scott Wrote:

> my %h;
> @h{@vars} = ();
> if (keys %h != @vars) { $youlose = "yes"; }


Maybe I'm missing something - won't these *always* match, since @vars has been used to 
create keys %h?  

It seems that way when I test it.

What I want to detect is whether any two of the values within @vars are identical.

Will this do that?

-T

Reply via email to