in reply to Re: How to compare arrays? (xmms alarm clock)
in thread How to compare arrays? (xmms alarm clock)
However, if you have
then both "@current" eq "@wake" and @current == @wake.@current = ("foo bar", "baz"); @wake = ("foo", "bar baz");
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
|
|---|