diff --git a/Build.PL b/Build.PL deleted file mode 100644 index caf4203..0000000 --- a/Build.PL +++ /dev/null @@ -1,21 +0,0 @@ -#! perl - -BEGIN { require 5.006002 } - -use strict; -use warnings; - -use Module::Build; - -Module::Build->new( - module_name => 'UNIVERSAL::isa', - license => 'perl', - requires => { - 'perl' => '5.6.2', - 'Scalar::Util' => 0, - }, - config_requires => { - 'perl' => '5.6.2', - 'Module::Build' => '0.33', - } -)->create_build_script; diff --git a/Changes b/Changes index 962f763..0f65695 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,9 @@ Changes for UNIVERSAL::isa -------------------------- +{{$NEXT}} + - converted to Dist::Zilla + 1.03 Mon Jun 22 20:42:36 UTC 2009 - improved packaging (Module::Build is now a config_requires dependency) diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index 6363215..0000000 --- a/MANIFEST +++ /dev/null @@ -1,9 +0,0 @@ -Build.PL -Changes -lib/UNIVERSAL/isa.pm -MANIFEST This list of files -META.yml -t/basic.t -t/bugs.t -t/warnings.t -README diff --git a/META.yml b/META.yml deleted file mode 100644 index 45ed083..0000000 --- a/META.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: UNIVERSAL-isa -version: 1.03 -author: - - 'Audrey Tang ' - - 'chromatic ' - - 'Yuval Kogman ' -abstract: |- - Attempt to recover from people calling UNIVERSAL::isa as a - function -license: perl -resources: - license: http://dev.perl.org/licenses/ -requires: - Scalar::Util: 0 - perl: 5.6.2 -provides: - UNIVERSAL::isa: - file: lib/UNIVERSAL/isa.pm - version: 1.03 -generated_by: Module::Build version 0.33 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 diff --git a/README b/README deleted file mode 100644 index 0a401bf..0000000 --- a/README +++ /dev/null @@ -1,46 +0,0 @@ -UNIVERSAL::isa --------------- - -Version 1.03 - Mon Jun 22 20:34:08 UTC 2009 - -Attempt to recover from people calling UNIVERSAL::isa as a function - - # from the shell - echo 'export PERL5OPT=-MUNIVERSAL::isa' >> /etc/profile - - # within your program - use UNIVERSAL::isa; - - # verbose reporting - use UNIVERSAL::isa 'verbose'; - -INSTALLATION - - $ perl Build.PL - $ perl ./Build - $ perl ./Build test - $ sudo perl ./Build install - -APOLOGIA - - Whenever you use "isa" in UNIVERSAL as a function, a kitten using -Test::MockObject dies. Normally, the kittens would be helpless, but if they use -UNIVERSAL::isa (the module whose docs you are reading), the kittens can live -long and prosper. - - This module replaces "UNIVERSAL::isa" with a version that makes sure that, -when called as a function on objects which override "isa", "isa" will call the -appropriate method on those objects - - In all other cases, the real "UNIVERSAL::isa" gets called directly. - -AUTHORS - Audrey Tang - - chromatic - - Yuval Kogman - -COPYRIGHT & LICENSE - - Artistic License 2.0, Copyright (c) chromatic 2005 - 2009. diff --git a/dist.ini b/dist.ini new file mode 100644 index 0000000..69d434f --- /dev/null +++ b/dist.ini @@ -0,0 +1,23 @@ +name = UNIVERSAL-isa +author = chromatic +license = Perl_5 +copyright_holder = chromatic@wgz.org +copyright_year = 2011 + +[AutoVersion] +format = {{ cldr('1.yyyyMMdd') }} + +[AutoPrereqs] + +[@Basic] +[PkgVersion] +[NextRelease] + +[@Git] +changelog = Changes ; this is the default +allow_dirty = dist.ini ; see Git::Check... +allow_dirty = Changes ; ... and Git::Commit +commit_msg = v%v%n%n%c ; see Git::Commit +tag_format = %v ; see Git::Tag +tag_message = %v ; see Git::Tag +push_to = origin ; see Git::Push diff --git a/lib/UNIVERSAL/isa.pm b/lib/UNIVERSAL/isa.pm index d8f8d15..d117795 100644 --- a/lib/UNIVERSAL/isa.pm +++ b/lib/UNIVERSAL/isa.pm @@ -1,15 +1,17 @@ package UNIVERSAL::isa; +# ABSTRACT: Attempt to recover from people calling UNIVERSAL::isa as a function use strict; -use vars qw( $VERSION $recursing ); +use warnings; +use 5.6.2; + +use vars qw( $recursing ); use UNIVERSAL (); use Scalar::Util 'blessed'; use warnings::register; -$VERSION = '1.03'; - my ( $orig, $verbose_warning ); BEGIN { $orig = \&UNIVERSAL::isa } @@ -100,8 +102,7 @@ __END__ =head1 NAME -UNIVERSAL::isa - Attempt to recover from people calling UNIVERSAL::isa as a -function +Attempt to recover from people calling UNIVERSAL::isa as a function =head1 SYNOPSIS