It defaults to 3.
Changing your code to this will produce the desired output:
my $diff = diff "after.txt", "before.txt", { OUTPUT => \*STDOUT, STYLE + => "Table", CONTEXT=>0 }; # Um - I used *STDOUT to test..
"Battle not with trolls, lest ye become a troll; and if you gaze into the Internet, the Internet gazes also into you."
-Friedrich Nietzsche: A Dynamic Translation
In reply to Re: diff not working as it should
by NetWallah
in thread diff not working as it should
by tale051258
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |