Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Algorithm::Merge 0.08

    Download button

    No screenshots available
    Downloads: 393  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    James G. Smith | More programs
    Perl Artistic License / FREE
    May 17th, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Algorithm::Merge description

    Algorithm::Merge is a Perl module package that provides three-way merge and diff.

    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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    three-way merge | three-way diff | Perl module | Algorithm::Merge | three-way | merge

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM