in reply to How to compare arrays? (xmms alarm clock)
The == operator demands scalar context of its arguments. The comma in scalar context returns the rightmost argument. So the comma didn't make a list, but evaluated the stuff for side effects and kept the last (single) value only.
Look at mapcar to iterate the two lists in tandum.
|
|---|