in reply to Text::Diff::Table output, but want to show all lines
Hi Solo,
..But sometimes I want to show all the lines, not only the differences with surrounding context..
I don't know how you are using Text::Diff::Table and what you mean to show all the lines.
For in my experience, I have a table of all the lines. And the lines with difference are indicated by * at both side of the table, showing both files.
More like what diff command in Linux will give you when used with the option y like so: diff -y file1 file2
You will have a table, comparing the two files, and showing differences. Just like I mentioned previously.my $diff = diff $file1, $file2, { STYLE => "Table" }; print $diff;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Text::Diff::Table output, but want to show all lines
by Solo (Deacon) on Dec 12, 2014 at 19:40 UTC | |
by Anonymous Monk on Feb 22, 2019 at 14:47 UTC | |
by tybalt89 (Monsignor) on Feb 22, 2019 at 17:04 UTC |