The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Build.PL 690
Changes 04
MANIFEST 12
META.json 1012
META.yml 87
Makefile.PL 052
README.md 11
lib/Class/ErrorHandler.pm 11
minil.toml 01
9 files changed (This is a version diff) 9080
@@ -1,69 +0,0 @@
-# =========================================================================
-# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
-# DO NOT EDIT DIRECTLY.
-# =========================================================================
-
-use 5.008_001;
-
-use strict;
-use warnings;
-use utf8;
-
-use Module::Build;
-use File::Basename;
-use File::Spec;
-use CPAN::Meta;
-use CPAN::Meta::Prereqs;
-
-my %args = (
-    license              => 'perl',
-    dynamic_config       => 0,
-
-    configure_requires => {
-        'Module::Build' => 0.38,
-    },
-
-    name            => 'Class-ErrorHandler',
-    module_name     => 'Class::ErrorHandler',
-    allow_pureperl => 0,
-
-    script_files => [glob('script/*'), glob('bin/*')],
-    c_source     => [qw()],
-
-    test_files           => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
-    recursive_test_files => 1,
-);
-if (-d 'share') {
-    $args{share_dir} = 'share';
-}
-
-my $builder = Module::Build->subclass(
-    class => 'MyBuilder',
-    code => q{
-        sub ACTION_distmeta {
-            die "Do not run distmeta. Install Minilla and `minil install` instead.\n";
-        }
-        sub ACTION_installdeps {
-            die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n";
-        }
-    }
-)->new(%args);
-$builder->create_build_script();
-
-my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
-my $meta = CPAN::Meta->load_file('META.json');
-my $prereqs_hash = CPAN::Meta::Prereqs->new(
-    $meta->prereqs
-)->with_merged_prereqs(
-    CPAN::Meta::Prereqs->new($mbmeta->prereqs)
-)->as_string_hash;
-my $mymeta = CPAN::Meta->new(
-    {
-        %{$meta->as_struct},
-        prereqs => $prereqs_hash
-    }
-);
-print "Merging cpanfile prereqs to MYMETA.yml\n";
-$mymeta->save('MYMETA.yml', { version => 1.4 });
-print "Merging cpanfile prereqs to MYMETA.json\n";
-$mymeta->save('MYMETA.json', { version => 2 });
@@ -2,6 +2,10 @@
 
 Revision history for Class::ErrorHandler
 
+0.04 2015-05-10T22:08:23Z
+
+    - use EU::MM
+
 0.03 2013-08-14T03:15:44Z
 
     - minl migrate
@@ -1,10 +1,11 @@
-Build.PL
 Changes
 LICENSE
 META.json
+Makefile.PL
 README.md
 cpanfile
 lib/Class/ErrorHandler.pm
+minil.toml
 t/00-compile.t
 t/01-errors.t
 META.yml
@@ -4,8 +4,10 @@
       "Benjamin Trott, cpan@stupidfool.org. All rights reserved."
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Minilla/v0.5.6",
-   "license" : "perl_5",
+   "generated_by" : "Minilla/v2.4.1",
+   "license" : [
+      "perl_5"
+   ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
       "version" : "2"
@@ -19,21 +21,21 @@
          "share",
          "eg",
          "examples",
-         "author"
+         "author",
+         "builder"
       ]
    },
    "prereqs" : {
       "configure" : {
          "requires" : {
-            "CPAN::Meta" : "0",
-            "CPAN::Meta::Prereqs" : "0",
-            "Module::Build" : "0.38"
+            "ExtUtils::MakeMaker" : "0"
          }
       },
       "develop" : {
          "requires" : {
             "Test::CPAN::Meta" : "0",
-            "Test::MinimumVersion" : "0.10108",
+            "Test::MinimumVersion::Fast" : "0.04",
+            "Test::PAUSE::Permissions" : "0.04",
             "Test::Pod" : "1.41",
             "Test::Spellunker" : "v0.2.7"
          }
@@ -47,7 +49,7 @@
    "provides" : {
       "Class::ErrorHandler" : {
          "file" : "lib/Class/ErrorHandler.pm",
-         "version" : "0.03"
+         "version" : "0.04"
       }
    },
    "release_status" : "stable",
@@ -61,8 +63,8 @@
          "web" : "https://github.com/tokuhirom/Class-ErrorHandler"
       }
    },
-   "version" : "0.03",
+   "version" : "0.04",
    "x_contributors" : [
-      "tokuhirom <tokuhirom@gmail.com>"
+      "Tokuhiro Matsuno <tokuhirom@gmail.com>"
    ]
 }
@@ -4,15 +4,13 @@ author:
   - 'Benjamin Trott, cpan@stupidfool.org. All rights reserved.'
 build_requires: {}
 configure_requires:
-  CPAN::Meta: 0
-  CPAN::Meta::Prereqs: 0
-  Module::Build: 0.38
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Minilla/v0.5.6, CPAN::Meta::Converter version 2.131560'
+generated_by: 'Minilla/v2.4.1, CPAN::Meta::Converter version 2.150001'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Class-ErrorHandler
 no_index:
   directory:
@@ -23,16 +21,17 @@ no_index:
     - eg
     - examples
     - author
+    - builder
 provides:
   Class::ErrorHandler:
     file: lib/Class/ErrorHandler.pm
-    version: 0.03
+    version: '0.04'
 requires:
   perl: 5.008_001
 resources:
   bugtracker: https://github.com/tokuhirom/Class-ErrorHandler/issues
   homepage: https://github.com/tokuhirom/Class-ErrorHandler
   repository: git://github.com/tokuhirom/Class-ErrorHandler.git
-version: 0.03
+version: '0.04'
 x_contributors:
-  - 'tokuhirom <tokuhirom@gmail.com>'
+  - 'Tokuhiro Matsuno <tokuhirom@gmail.com>'
@@ -0,0 +1,52 @@
+# =========================================================================
+# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
+# DO NOT EDIT DIRECTLY.
+# =========================================================================
+
+use 5.008_001;
+use strict;
+
+use ExtUtils::MakeMaker;
+
+
+my %WriteMakefileArgs = (
+    NAME     => 'Class::ErrorHandler',
+    DISTNAME => 'Class-ErrorHandler',
+    VERSION  => '0.04',
+    CONFIGURE_REQUIRES => {
+  "ExtUtils::MakeMaker" => 0
+}
+,
+    BUILD_REQUIRES     => {}
+,
+    TEST_REQUIRES      => {}
+,
+    PREREQ_PM          => {
+  "perl" => "5.008_001"
+}
+,
+);
+
+my $full_prereqs = {
+  "ExtUtils::MakeMaker" => 0,
+  "perl" => "5.008_001"
+}
+;
+
+unless (eval { ExtUtils::MakeMaker->VERSION(6.63_03) }) {
+    delete $WriteMakefileArgs{TEST_REQUIRES};
+    delete $WriteMakefileArgs{BUILD_REQUIRES};
+    $WriteMakefileArgs{PREREQ_PM} = $full_prereqs;
+}
+
+unless (eval { ExtUtils::MakeMaker->VERSION(6.52) }) {
+    delete $WriteMakefileArgs{CONFIGURE_REQUIRES};
+}
+
+unless (eval { ExtUtils::MakeMaker->VERSION(6.57_01) }) {
+    use File::Copy;
+    copy('META.yml', 'MYMETA.yml')   or warn "META.yml: $!";
+    copy('META.json', 'MYMETA.json') or warn "META.json: $!";
+}
+
+WriteMakefile(%WriteMakefileArgs);
@@ -43,7 +43,7 @@ returns `undef`. This has the effect of the method that failed returning
 return value of `undef`, and calling _errstr_ to get the value of the
 error message on an error.
 
-As demonstrated in the [SYNOPSIS](http://search.cpan.org/perldoc?SYNOPSIS), _error_ and _errstr_ work as both class
+As demonstrated in the [SYNOPSIS](https://metacpan.org/pod/SYNOPSIS), _error_ and _errstr_ work as both class
 methods and object methods.
 
 # USAGE
@@ -4,7 +4,7 @@ package Class::ErrorHandler;
 use strict;
 
 use vars qw( $VERSION $ERROR );
-$VERSION = '0.03';
+$VERSION = '0.04';
 
 sub error {
     my $msg = $_[1] || '';
@@ -0,0 +1 @@
+module_maker="ExtUtilsMakeMaker"