Text::Diff3::DiffHeckel 0.06
Sponsored Links
Text::Diff3::DiffHeckel 0.06 Ranking & Summary
File size:
0.011 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1096
Date added:
2006-10-23
Publisher:
MIZUTANI Tociyuki
Text::Diff3::DiffHeckel 0.06 description
Text::Diff3::DiffHeckel is a two-way diff plug-in.
SYNOPSIS
use Text::Diff3;
my $f = Text::Diff3::Factory->new;
my $p = $f->create_diff;
my $mytext = $f->create_text([ map{chomp;$_} < F0 > ]);
my $original = $f->create_text([ map{chomp;$_} < F1 > ]);
my $diff2 = $p->diff( $origial, $mytext );
$diff2->each(sub{
my( $r ) = @_;
print $r->as_string, "n";
if ( $r->type ne d ) {
print -, $original->as_string_at( $_ ) for $r->rangeB;
}
if ( $r->type ne a ) {
print +, $mytext->as_string_at( $_ ) for $r->rangeA;
}
});
ABSTRACT
This is a package for Text::Diff3 to compute difference sets between two text buffers based on the P. Heckels algorithm. Anyone may change this to an another diff or a its wrapper module by a your custom Factory instance.
Text::Diff3 needs a support of computing difference sets between two text buffers (diff). As the diff(1) command, the required diff module creates a list of tipples recorded an information set of a change type (such as a, c, or d) and a range of line numbers between two text buffers.
Since there are several algorithms and their implementations for the diff computation, Text::Diff3 makes a plan independent on any specific diff routine. It calls a pluggable diff processor instance specified in a factory commonly used in Text::Diff3. Anyone may change diff plug-in according to text properties.
For users convenience, Text::Diff3 includes small diff based on the P. Heckels algorithm. On the other hands, many other systems use the popular Least Common Sequence (LCS) algorithm. The merits for each algorithm are case by case. In authors experience, two algorithms generate almost same results for small local changes in the text. In some cases, such as moving blocks of lines, it happened quite differences in results.Text::Diff3::DiffHeckel is a two-way diff plug-in.
SYNOPSIS
use Text::Diff3;
my $f = Text::Diff3::Factory->new;
my $p = $f->create_diff;
my $mytext = $f->create_text([ map{chomp;$_} < F0 > ]);
my $original = $f->create_text([ map{chomp;$_} < F1 > ]);
my $diff2 = $p->diff( $origial, $mytext );
$diff2->each(sub{
my( $r ) = @_;
print $r->as_string, "n";
if ( $r->type ne d ) {
print -, $original->as_string_at( $_ ) for $r->rangeB;
}
if ( $r->type ne a ) {
print +, $mytext->as_string_at( $_ ) for $r->rangeA;
}
});
ABSTRACT
This is a package for Text::Diff3 to compute difference sets between two text buffers based on the P. Heckels algorithm. Anyone may change this to an another diff or a its wrapper module by a your custom Factory instance.
Text::Diff3 needs a support of computing difference sets between two text buffers (diff). As the diff(1) command, the required diff module creates a list of tipples recorded an information set of a change type (such as a, c, or d) and a range of line numbers between two text buffers.
Since there are several algorithms and their implementations for the diff computation, Text::Diff3 makes a plan independent on any specific diff routine. It calls a pluggable diff processor instance specified in a factory commonly used in Text::Diff3. Anyone may change diff plug-in according to text properties.
For users convenience, Text::Diff3 includes small diff based on the P. Heckels algorithm. On the other hands, many other systems use the popular Least Common Sequence (LCS) algorithm. The merits for each algorithm are case by case. In authors experience, two algorithms generate almost same results for small local changes in the text. In some cases, such as moving blocks of lines, it happened quite differences in results.Text::Diff3::DiffHeckel is a two-way diff plug-in.
Text::Diff3::DiffHeckel 0.06 Screenshot
Advertisements
Text::Diff3::DiffHeckel 0.06 Keywords
DiffHeckel
DiffHeckel 0.06
diff
text
Plug-In
R-
Two-Way
algorithm
Text::Diff3::DiffHeckel
TextDiff3DiffHeckel
Text::Diff3::DiffHeckel 0.06
Libraries
Programming
Bookmark Text::Diff3::DiffHeckel 0.06
Text::Diff3::DiffHeckel 0.06 Copyright
WareSeeker periodically updates pricing and software information of Text::Diff3::DiffHeckel 0.06 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Text::Diff3::DiffHeckel 0.06 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Text::Diff3::Diff3 is a diff3 plug-in. Free Download
Text::Diff can perform diffs on files and record sets. Free Download
Etk is a Perl bindings for the Enlightened ToolKit (Etk). Free Download
sqlt-diff is a Perl module that can find the differences b/w two schemas. Free Download
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. Free Download
mod_choke is a module for Apache that limits usage by greedy clients. Free Download
Data::Diff is a data structure comparison module. Free Download
Hash::Diff::Dispatch allows to execute code depending on difference between hashes. Free Download
Latest Software
Popular Software
Favourite Software