in reply to Re^2: Two files comparasion
in thread Two files comparasion

if( "@raw_data_source" eq "@raw_data_Expected" )

That does work, but if $" eq $/ there could be cases where you get false positives. Luckily that's the default, but I feel it's worth to mention nonetheless.

Update: Uhm, not entirely sure. But there's no need to split the lines into arrays unless you process it line by line.