view release on metacpan or search on metacpan
typemap
Vec.pm
Vec.xs
MANIFEST.SKIP
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL
MANIFEST This list of files
README
t/test.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
t/01-sort.t
t/manifest.t
t/pod-coverage.t
t/pod.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
t/00_load.t
t/01_basic.t
t/02_serialize.t
t/03_merge.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST.SKIP
README
t/1.t
t/2multsize.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
t/010_complex_merge_classless.t
t/011_infinite_loop.t
xt/pod.t
xt/pod_coverage.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
README README file (added by Distar)
LICENSE LICENSE file (added by Distar)
view all matches for this distribution
view release on metacpan or search on metacpan
t/08ng.t
t/09notify.t
t/number-place.t
t/send-more-money.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
"repository" : {
"url" : "https://github.com/matwei-perl/Algorithm-CheckDigits"
}
},
"version" : "v1.3.6",
"x_serialization_backend" : "JSON::PP version 4.02"
}
view all matches for this distribution
view release on metacpan or search on metacpan
;bugtracker.web = https://github.com/%a/%r/issues
[GithubMeta]
issues = 1
[MetaYAML] ; generate META.ym
[MetaJSON] ; generate META.json
; build system
;[ExecDir] ; include 'bin/*' as executables
[ShareDir] ; include 'share/' for File::ShareDir
[MakeMaker] ; create Makefile.PL
view all matches for this distribution
view release on metacpan or search on metacpan
perl/examples/ex7_distancematrix
perl/examples/ex8_kmedoids
data/cyano.txt
doc/cluster.pdf
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
ppport.h
t/00_load.t
t/01_basic.t
t/02_upstream.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST This list of files
ppport.h
t/01_basic.t
typemap
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Metadata.pm view on Meta::CPAN
}
sub write_mymeta_json {
my $self = shift;
# We need JSON to write the MYMETA.json file
unless ( eval { require JSON; 1; } ) {
return 1;
}
# Generate the data
my $meta = $self->_write_mymeta_data or return 1;
# Save as the MYMETA.yml file
print "Writing MYMETA.json\n";
Module::Install::_write(
'MYMETA.json',
JSON->new->pretty(1)->canonical->encode($meta),
);
}
sub _write_mymeta_data {
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
t/03cmp.t
t/98podsyn.t
t/99podcov.t
eg/simple.pl
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
t/98podsyn.t
t/99podcov.t
eg/simple.pl
lib/Algorithm/ConstructDFA.pm
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Algorithm/ConstructDFA2.pm view on Meta::CPAN
use List::MoreUtils qw/uniq/;
use Moo;
use Memoize;
use Log::Any qw//;
use DBI;
use JSON;
our $VERSION = '0.06';
has 'input_alphabet' => (
is => 'ro',
lib/Algorithm/ConstructDFA2.pm view on Meta::CPAN
has '_json' => (
is => 'rw',
required => 0,
default => sub {
JSON->new->canonical(1)->indent(0)->ascii(1)
},
);
sub BUILD {
my ($self) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
[PodSyntaxTests]
[PkgVersion]
[GithubMeta]
user = grantm
issues = 1
[MetaJSON]
[@Git]
[Prereqs]
perl = 5.010
Digest::SHA =
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST This list of files
README
t/00-load.t
t/manifest.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Algorithm/CurveFit/Simple.pm view on Meta::CPAN
use strict;
use warnings;
use Algorithm::CurveFit;
use Time::HiRes;
use JSON::PP;
our %STATS_H; # side-products of fit() stored here for profiling purposes
BEGIN {
require Exporter;
view all matches for this distribution
view release on metacpan or search on metacpan
"license" : [
"http://dev.perl.org/licenses/"
]
},
"version" : "1.06",
"x_serialization_backend" : "JSON::PP version 4.04"
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/test_datasets/dbscan_test_dataset_module_synopsis.txt
t/test_datasets/dbscan_test_dataset_module_synopsis_result.txt
t/test_datasets/region_index_dataset_2.txt
xt/boilerplate.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL
MANIFEST This list of files
README.pod
t/DLX.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
MANIFEST This list of files
README
t/param.txt
t/test.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Metadata.pm view on Meta::CPAN
}
sub write_mymeta_json {
my $self = shift;
# We need JSON to write the MYMETA.json file
unless ( eval { require JSON; 1; } ) {
return 1;
}
# Generate the data
my $meta = $self->_write_mymeta_data or return 1;
# Save as the MYMETA.yml file
print "Writing MYMETA.json\n";
Module::Install::_write(
'MYMETA.json',
JSON->new->pretty(1)->canonical->encode($meta),
);
}
sub _write_mymeta_data {
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
"Dist::Zilla::Plugin::Keywords" : "0.004",
"Dist::Zilla::Plugin::License" : "5.038",
"Dist::Zilla::Plugin::MakeMaker" : "0",
"Dist::Zilla::Plugin::Manifest" : "0",
"Dist::Zilla::Plugin::MetaConfig" : "0",
"Dist::Zilla::Plugin::MetaJSON" : "0",
"Dist::Zilla::Plugin::MetaNoIndex" : "0",
"Dist::Zilla::Plugin::MetaProvides::Package" : "1.15000002",
"Dist::Zilla::Plugin::MetaTests" : "0",
"Dist::Zilla::Plugin::MetaYAML" : "0",
"Dist::Zilla::Plugin::MinimumPerl" : "1.006",
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::ETHER/MetaYAML",
"version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::ETHER/MetaJSON",
"version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Author::ETHER/Readme",
"Adam Kennedy <adam@ali.as>",
"Karen Etheridge <ether@cpan.org>",
"Mark Murawski <markm@intellasoft.net>"
],
"x_generated_by_perl" : "v5.31.10",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
"x_use_unsafe_inc" : 0
}
view all matches for this distribution
view release on metacpan or search on metacpan
[PruneCruft]
except = \.travis.yml
[ManifestSkip]
[MetaYAML]
[MetaJSON]
[License]
[Readme]
[PkgVersion]
[PodVersion]
[PodSyntaxTests]
view all matches for this distribution
view release on metacpan or search on metacpan
"repository" : {
"url" : "http://github.com/xsawyerx/algorithm-diff-callback"
}
},
"version" : "0.111",
"x_serialization_backend" : "JSON::XS version 3.01"
}
view all matches for this distribution
view release on metacpan or search on metacpan
"version" : "0.05",
"x_contributors" : [
"reneeb <github@renee-baecker.de>",
"reneeb <info@perl-services.de>"
],
"x_serialization_backend" : "JSON::XS version 3.04"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Algorithm/Diff/JSON.pm view on Meta::CPAN
package Algorithm::Diff::JSON;
use strict;
use warnings;
use Algorithm::Diff qw(diff);
use Cpanel::JSON::XS qw(encode_json);
use Sub::Exporter -setup => { exports => [ 'json_diff' ] };
our $VERSION = '1.000';
lib/Algorithm/Diff/JSON.pm view on Meta::CPAN
]);
}
=head1 NAME
Algorithm::Diff::JSON - find the differences between two lists and report on them in JSON
=head1 SYNOPSIS
This perl code:
use Algorithm::Diff::JSON qw(json_diff);
my $json = json_diff(
[0, 1, 2, 3, 4, 5, 6],
['zero', 1, 2, 3, 5, 5.5, 6]
);
will generate this JSON:
[
{ "element": 0, "change": { "remove": 0, "add": "zero" } },
{ "element": 4, "remove": 4 },
{ "element": 5, "add": 5.5 }
]
(well, an ugly, minimised, equivalent version of that JSON anyway)
=head1 FUNCTIONS
There is only one function, which is a simple wrapper around L<Algorithm::Diff>'s
C<diff> function:
=head2 json_diff
This takes two list-ref arguments. It returns a JSON array describing the
changes needed to transform the first into the second.
This function may be exported. If you want to export it with a different name
then you can do so:
use Algorithm::Diff::JSON 'json_diff' => { -as => 'something_else };
Each element in the returned array is a hash. Hashes always have:
=over
lib/Algorithm/Diff/JSON.pm view on Meta::CPAN
Feature requests are far more likely to get implemented if you submit a patch
yourself.
=head1 SOURCE CODE REPOSITORY
L<git://github.com/DrHyde/perl-modules-Algorithm-Diff-JSON.git>
=head1 SEE ALSO
L<Text::Diff>
view all matches for this distribution
view release on metacpan or search on metacpan
cdiff.pl Context diff utility
diff.pl Simple Unix diff utility written in Perl
diffnew.pl Full-featured Unix diff utility written in Perl
htmldiff.pl Sample using traverse_sequences
META.yml Module meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
view all matches for this distribution