in reply to Re: Re: Array::Compare issues
in thread Array::Compare issues
That simply means that the value in one of the arrays is the null string ('') eg, a blank line.
You can either trun of that particular warning with
no warnings 'uninitialized';
See perllexwarn for details.
Or you could modify the print statement to provide better diagnostics.
print OUT "line $_ differs. File 1: ", $file1[ $_ ] || '[blank]', " != File 2: ", $file2[ $_ ] || '[blank]', "\n" for $comp->full_compare(\@file1,\@file2);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Array::Compare issues
by sunadmn (Curate) on Oct 06, 2003 at 14:10 UTC |