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 = ("two", "one", "three");
@List2c = ("one", "two", "three", "four");
Is there an elegant way?
If not, I can write a sub for it.
Detlef Lindenthal <[EMAIL PROTECTED]>
- Re: [MacPerl] Equality of 2 lists Detlef Lindenthal
- Re: [MacPerl] Equality of 2 lists Ronald J Kimball
- Re: [MacPerl] Equality of 2 lists Stewart Leicester
- Re: [MacPerl] Equality of 2 lists Ronald J Kimball
