All exceptions occur when T2/7 is output before T1/7.
You are checking that @t1 is not empty, but not @t2.
Changing the final ternary operator expression to : @t2 ? \@t2 : \@t1 fixes this.
Regards,
PN5
In reply to Re: Stable mixing of 2 arrays into a 3rd
by Prior Nacre V
in thread Stable mixing of 2 arrays into a 3rd
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |