in reply to tweaking of perldoc function (sorting/preserving order)
How do you define order for intersection? Take this for instance:
The intersection will now be all element in @a (or @b), but in which order?my @a = (1,2,3); my @b = reverse @a;
lodin
|
|---|