Thanks for your solution. It's pretty much what I was looking for. :-)
But.. are you sure if that code works for any input data one could think of? Couldn't the
$after->[$lo_1 + 1]
result in an undefined value when $lo_1 equals $#{$after}?
Cheers, Flo
In reply to Re^2: Difference between two arrays
by rafl
in thread Difference between two arrays
by rafl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |