From: Dave Rolsky Date: Tue, 21 Sep 2010 18:19:26 +0000 (-0500) Subject: Remove another empty class in the native array inheritance hierarchy X-Git-Tag: 1.15~126 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=126a13c8ae653ef4d35099ad3669a82554c7d388;p=gitmo%2FMoose.git Remove another empty class in the native array inheritance hierarchy --- diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/Reader.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/Reader.pm deleted file mode 100644 index 7928eac..0000000 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/Reader.pm +++ /dev/null @@ -1,15 +0,0 @@ -package Moose::Meta::Method::Accessor::Native::Array::Reader; - -use strict; -use warnings; - -our $VERSION = '1.13'; -$VERSION = eval $VERSION; -our $AUTHORITY = 'cpan:STEVAN'; - -use base qw( - Moose::Meta::Method::Accessor::Native::Array - Moose::Meta::Method::Accessor::Native::Reader -); - -1; diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/count.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/count.pm index aeb67d7..7f2c28d 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/count.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/count.pm @@ -7,7 +7,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _maximum_arguments { 0 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/elements.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/elements.pm index 29c16bb..a19080d 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/elements.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/elements.pm @@ -7,7 +7,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _maximum_arguments { 0 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/first.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/first.pm index d996f6c..d873082 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/first.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/first.pm @@ -9,7 +9,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _minimum_arguments { 1 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/get.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/get.pm index a7b228a..7dc8fa8 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/get.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/get.pm @@ -7,7 +7,10 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base qw( + Moose::Meta::Method::Accessor::Native::Array + Moose::Meta::Method::Accessor::Native::Reader +); sub _minimum_arguments { 1 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/grep.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/grep.pm index 479523f..7f19c03 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/grep.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/grep.pm @@ -7,7 +7,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _minimum_arguments { 1 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/is_empty.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/is_empty.pm index faa35ce..9ca01e4 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/is_empty.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/is_empty.pm @@ -7,7 +7,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _return_value { my $self = shift; diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/join.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/join.pm index d8718c0..9463947 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/join.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/join.pm @@ -7,7 +7,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _minimum_arguments { 1 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/map.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/map.pm index a551bbe..fefeebb 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/map.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/map.pm @@ -7,7 +7,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _minimum_arguments { 1 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/natatime.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/natatime.pm index af2887a..c49f0a2 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/natatime.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/natatime.pm @@ -9,7 +9,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _minimum_arguments {1} diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm index 28beffa..7886199 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm @@ -9,7 +9,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _minimum_arguments { 1 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/shuffle.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/shuffle.pm index 465bdd9..eeba3e7 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/shuffle.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/shuffle.pm @@ -9,7 +9,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _maximum_arguments { 0 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/sort.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/sort.pm index 4b633dc..552e0e8 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/sort.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/sort.pm @@ -7,7 +7,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _maximum_arguments { 1 } diff --git a/lib/Moose/Meta/Method/Accessor/Native/Array/uniq.pm b/lib/Moose/Meta/Method/Accessor/Native/Array/uniq.pm index adb394c..5c33f3c 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Array/uniq.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Array/uniq.pm @@ -9,7 +9,7 @@ our $VERSION = '1.13'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; +use base 'Moose::Meta::Method::Accessor::Native::Reader'; sub _maximum_arguments { 0 }