Konstrukt
view release on metacpan or search on metacpan
lib/Konstrukt/Doc/FunctionPlugins.pod view on Meta::CPAN
B<Usage:>
<& date / &>
B<Result:>
April 23, 2006 - 10:45:16
=head2 diff
L<diff|Konstrukt::Plugin::diff>: Print out an XHTML table with the difference
between two texts.
B<Usage:>
<& diff &>
<$ left $>
1
2
3
<$ / $>
lib/Konstrukt/Doc/PluginList.pod view on Meta::CPAN
B<Result:>
April 23, 2006 - 10:45:16
Complete documentation: L<Konstrukt::Plugin::date>.
=head2 diff
Print out an XHTML table with the difference between two texts
B<Usage:>
<& diff &>
<$ left $>
1
2
3
lib/Konstrukt/Plugin/diff.pm view on Meta::CPAN
=head1 NAME
Konstrukt::Plugin::diff - Print out an XHTML table with the difference between two texts
=head1 SYNOPSIS
B<Usage:>
<& diff &>
<$ left $>
1
2
3
lib/Konstrukt/Plugin/diff.pm view on Meta::CPAN
<& diff left_header="text a" right_header="text b" &>
...
<& / &>
B<Result:>
A table showing the difference between the two texts.
=head1 DESCRIPTION
With this plugin you compare two texts and put out the difference as an XHTML table.
You may also use its Perl interface:
my $diff = use_plugin 'diff';
my $html = $diff->diff("1\n2\n3", "1\n3");
=head1 CONFIGURATION
You may configure the default behaviour of the diff plugin:
( run in 1.345 second using v1.01-cache-2.11-cpan-49f99fa48dc )