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]>

Reply via email to