in reply to Set operations

So you pasted hundreds of lines of code which we can't run because you didn't supply any data, and the the error message you report can't be right because there is no numeric lt anywhere around the line you indicate.

How about you reduce the code to the minimum needed to show the error and provide same test data the reproduces the issue. See I know what I mean. Why don't you? for some help in presenting your problem.

Perl is the programming world's equivalent of English