Text-WordDiff
view release on metacpan or search on metacpan
lib/Text/WordDiff.pm view on Meta::CPAN
}
$out_handler->( $style->file_footer() );
return defined $output ? $output : $hunks;
}
package Text::WordDiff::Base;
sub new {
my ($class, $opts) = @_;
return bless { %{$opts} } => $class;
}
sub file_header {
my $self = shift;
my $fn1 = $self->filename_a;
my $fn2 = $self->filename_b;
return '' unless defined $fn1 && defined $fn2;
my $p1 = $self->filename_prefix_a;
( run in 0.293 second using v1.01-cache-2.11-cpan-65fba6d93b7 )