in reply to Re^4: DBI SQL adding array of values
in thread DBI SQL adding array of values
the question of comparing two arrays for equality is more complex than you appear to thinkI am actually well aware of the complexities of testing for equalities in arrays. But I have also used (admittedly archaic) scripting languages where array1 == array2 tested for byte-length equality, or where the same tested equality for all elements. Either of those cases were not what the OP was looking for, but for a "number of elements" comparison.
It is, however, nice to know that there are no plans to alter the current behavior of @array1 == @array2 in Perl 6; thank you for that nugget.
|
|---|