in reply to Re: How to compare arrays? (xmms alarm clock)
in thread How to compare arrays? (xmms alarm clock)

This only works because the arrays don't contain a string with $" as substring.

However, if you have

@current = ("foo bar", "baz"); @wake = ("foo", "bar baz");
then both "@current" eq "@wake" and @current == @wake.

Also, it's not clear what to do when the arrays contain references. Should the references be the same, or is it enough if they point to comparable data? That is, are the following arrays equal?

@array1 = (1, [2]); @array2 = (1, [2]);

-- Abigail