in reply to Re^2: Combining two references
in thread Combining two references

It fails because you kept the same buggy code instead of using jeffa's fix.

Again, the fix is to deference the arrays to get their elements: @$data1, @$data2