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

This works so long as both arrays do not contain the $" character (usually space). Otherwise, two lists might "match" even when they don't:
@a = ('the flying','dorito','brothers'); @b = ('the','flying','dorito brothers'); "@a" = "the flying dorito brothers" "@b" = "the flying dorito brothers"
So if you're sure that the two arrays are $"-free in that sense, then go ahead.