Subject: | [Text::Diff] Option to skip header |
Date: | Wed, 25 May 2016 17:33:37 -0400 |
To: | bug-Text-Diff [...] rt.cpan.org |
From: | Ron W <ronw.mrmx [...] gmail.com> |
For a tool I am creating, that uses Text::Diff, it would be very useful to
have an option to suppress the header. I know that "OldStyle" doesn't
produce a header, but the "Context" style produces the most useful output
for my application.
I tried setting the FILENAME_A and FILENAME_B options to undef:
diff( $old, $new, { STYLE => 'Context', FILENAME_A => undef, FILENAME_B =>
undef });
but the header was still produced.