Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

# Algorithm::Merge 0.08

Date Added: November 16, 2010  |  Visits: 737

Algorithm::Merge is a Perl module package that provides three-way merge and diff. SYNOPSIS use Algorithm::Merge qw(merge diff3 traverse_sequences3); @merged = merge(@ancestor, @a, @b, { CONFLICT => sub { } }); @merged = merge(@ancestor, @a, @b, { CONFLICT => sub { } }, \$key_generation_function); \$merged = merge(@ancestor, @a, @b, { CONFLICT => sub { } }); \$merged = merge(@ancestor, @a, @b, { CONFLICT => sub { } }, \$key_generation_function); @diff = diff3(@ancestor, @a, @b); @diff = diff3(@ancestor, @a, @b, \$key_generation_function); \$diff = diff3(@ancestor, @a, @b); \$diff = diff3(@ancestor, @a, @b, \$key_generation_function); @trav = traverse_sequences3(@ancestor, @a, @b, { # callbacks }); @trav = traverse_sequences3(@ancestor, @a, @b, { # callbacks }, \$key_generation_function); \$trav = traverse_sequences3(@ancestor, @a, @b, { # callbacks }); \$trav = traverse_sequences3(@ancestor, @a, @b, { # callbacks }, \$key_generation_function); USAGE This module complements Algorithm::Diff by providing three-way merge and diff functions. In this documentation, the first list to diff3, merge, and traverse_sequences3 is called the `original list. The second list is the `left list. The third list is the `right list. The optional key generation arguments are the same as in Algorithm::Diff. See Algorithm::Diff for more information..

 Requirements: No special requirements Platforms: Linux Keyword: Algorithmmerge,  Ancestor,  Conflict,  Generation,  Key,  Libraries,  Merge,  Perl Module,  Programming,  Traverse Users rating: 0/10