Skip Menu |

This queue is for tickets about the Text-Diff CPAN distribution.

Report information
The Basics
Id: 114715
Status: new
Priority: 0/
Queue: Text-Diff

People
Owner: Nobody in particular
Requestors: ronw.mrmx [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.