On Mon, May 07, 2001 at 08:39:42PM -0700, Stewart Leicester wrote:
> I give up...in the last example, why should they ever compare different?
>
In this example, the two hashes compare different because $a{EXTRA}
contains a reference to %b, while $b{EXTRA} contains a reference to %a, and
those tw
I give up...in the last example, why should they ever compare different?
Stewart
>On Thu, May 03, 2001 at 06:28:31PM +0200, Detlef Lindenthal wrote:
> > How can I test if two lists are equal?
> >
> > Examples:
> > These two lists should be equal:
> > @List1a = (1, 2, 3);
> > @List1b = (1,
On Thu, May 03, 2001 at 06:28:31PM +0200, Detlef Lindenthal wrote:
> How can I test if two lists are equal?
>
> Examples:
> These two lists should be equal:
> @List1a = (1, 2, 3);
> @List1b = (1, 1+1, 1+1+1);
>
> No pair of these should be equal:
> @List2a = ("one", "two", "three");
> @List2b =