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

changing even less, he could have changed
if( @raw_data_source == @raw_data_Expected )
for
if( "@raw_data_source" eq "@raw_data_Expected" )
and get the (presumably) desired comparison :-)
Please, use strict; use warnings; !!! :-)
[]s, HTH, Massa (κς,πμ,πλ)

Replies are listed 'Best First'.
Re^3: Two files comparasion
by moritz (Cardinal) on Aug 01, 2008 at 10:11 UTC
    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.