Algorithm-Diff-Callback

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

  "dist_name" => "Algorithm-Diff-Callback",
  "dist_version" => "0.111",
  "license" => "perl",
  "module_name" => "Algorithm::Diff::Callback",
  "recursive_test_files" => 1,
  "requires" => {
    "Algorithm::Diff" => 0,
    "Carp" => 0,
    "Exporter" => 0,
    "List::Util" => "1.45",
    "parent" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "test_requires" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Test::More" => 0,
    "blib" => "1.01",
    "perl" => "5.006"

META.json  view on Meta::CPAN

            "Test::Pod::Coverage" : "1.08",
            "Test::Spelling" : "0.12"
         }
      },
      "runtime" : {
         "requires" : {
            "Algorithm::Diff" : "0",
            "Carp" : "0",
            "Exporter" : "0",
            "List::Util" : "1.45",
            "parent" : "0",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "File::Spec" : "0",
            "IO::Handle" : "0",
            "IPC::Open3" : "0",
            "Test::More" : "0",

META.yml  view on Meta::CPAN

  version: '1.4'
name: Algorithm-Diff-Callback
no_index:
  file:
    - README.pod
requires:
  Algorithm::Diff: '0'
  Carp: '0'
  Exporter: '0'
  List::Util: '1.45'
  parent: '0'
  strict: '0'
  warnings: '0'
resources:
  bugtracker: http://github.com/xsawyerx/algorithm-diff-callback/issues
  repository: http://github.com/xsawyerx/algorithm-diff-callback
version: '0.111'
x_serialization_backend: 'YAML::Tiny version 1.69'

Makefile.PL  view on Meta::CPAN

  },
  "DISTNAME" => "Algorithm-Diff-Callback",
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.006",
  "NAME" => "Algorithm::Diff::Callback",
  "PREREQ_PM" => {
    "Algorithm::Diff" => 0,
    "Carp" => 0,
    "Exporter" => 0,
    "List::Util" => "1.45",
    "parent" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Test::More" => 0,
    "blib" => "1.01"
  },

Makefile.PL  view on Meta::CPAN

  "Algorithm::Diff" => 0,
  "Carp" => 0,
  "Exporter" => 0,
  "File::Spec" => 0,
  "IO::Handle" => 0,
  "IPC::Open3" => 0,
  "List::Util" => "1.45",
  "Module::Build" => "0.28",
  "Test::More" => 0,
  "blib" => "1.01",
  "parent" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

lib/Algorithm/Diff/Callback.pm  view on Meta::CPAN

package Algorithm::Diff::Callback;
# ABSTRACT: Use callbacks on computed differences
$Algorithm::Diff::Callback::VERSION = '0.111';
use strict;
use warnings;
use parent          'Exporter';

use Carp            'croak';
use List::Util 1.45 'uniq';
use Algorithm::Diff 'diff';

our @EXPORT_OK = qw(diff_hashes diff_arrays);

sub diff_hashes {
    my ( $old, $new, %cbs ) = @_;



( run in 0.267 second using v1.01-cache-2.11-cpan-4d50c553e7e )