Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Data::Diff 0.01

    Download button

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

    License / Price:

    Last Updated:

    Category:
    George Campbell | More programs
    Perl Artistic License / FREE
    July 13th, 2007, 10:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Data::Diff description

    A data structure comparison module.

    Data::Diff is a data structure comparison module.

    SYNOPSIS

    use Data::Diff qw(diff);

    # simple procedural interface to raw difference output
    $out = diff( $a, $b );

    # OO usage
    $diff = Data::Diff->new( $a, $b );

    $new = $diff->apply();
    $changes = $diff->diff_a();

    Data::Diff computes the differences between two abirtray complex data structures.

    METHODS

    Creation

    new Data::Diff( $a, $b, $options )

    Creates and retruns a new Data::Diff object with the differences between $a and $b.

    Access

    apply( $options )

    Returns the result of applying one side over the other.

    raw()

    Returns the internal data structure that describes the differences at all levels within.

    Functions

    Diff( $a, $b, $options )

    Compares the two arguments $a and $b and returns the raw comparison between the two.

    EXPORT

    Nothing by default but you can choose to export the non-OO function Diff().

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    comparison module | structure comparison | Perl module | Data | Diff | structure

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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