Permalink
Browse files

Fix warnings from Moose 1.10. ( alias and excludes options )

  • Loading branch information...
1 parent 4f2df27 commit 7cb735fea8c5459914aa7c607f71f34feae23b58 @dragon3 committed Aug 24, 2010
@@ -5,7 +5,7 @@ use Moose;
use namespace::clean -except => 'meta';
-with qw(Data::Stream::Bulk) => { excludes => [qw/loaded filter list_cat/] };
+with qw(Data::Stream::Bulk) => { -excludes => [qw/loaded filter list_cat/] };
has array => (
isa => "ArrayRef",
@@ -5,7 +5,7 @@ use Moose;
use namespace::clean -except => 'meta';
-with qw(Data::Stream::Bulk::DoneFlag) => { excludes => [qw(is_done finished)] };
+with qw(Data::Stream::Bulk::DoneFlag) => { -excludes => [qw(is_done finished)] };
has callback => (
isa => "CodeRef|Str",
@@ -5,7 +5,7 @@ use Moose;
use namespace::clean -except => 'meta';
-with qw(Data::Stream::Bulk) => { excludes => 'list_cat' };
+with qw(Data::Stream::Bulk) => { -excludes => 'list_cat' };
has streams => (
isa => "ArrayRef[Data::Stream::Bulk]",
@@ -5,7 +5,7 @@ use Moose;
use namespace::clean -except => 'meta';
-with qw(Data::Stream::Bulk::DoneFlag) => { excludes => [qw/is_done all finished/] };
+with qw(Data::Stream::Bulk::DoneFlag) => { -excludes => [qw/is_done all finished/] };
has sth => (
isa => "Object",
@@ -5,7 +5,7 @@ use Moose;
use namespace::clean -except => 'meta';
-with qw(Data::Stream::Bulk::DoneFlag) => { excludes => [qw(is_done finished)] };
+with qw(Data::Stream::Bulk::DoneFlag) => { -excludes => [qw(is_done finished)] };
has resultset => (
isa => "Object",
@@ -20,7 +20,7 @@ has stream => (
handles => [qw(is_done loaded)],
);
-with qw(Data::Stream::Bulk) => { excludes => 'loaded' };
+with qw(Data::Stream::Bulk) => { -excludes => 'loaded' };
sub next {
my $self = shift;
@@ -5,7 +5,7 @@ use Moose;
use namespace::clean -except => 'meta';
-with qw(Data::Stream::Bulk) => { excludes => [qw/loaded filter list_cat all items/] };
+with qw(Data::Stream::Bulk) => { -excludes => [qw/loaded filter list_cat all items/] };
sub items { return () }

0 comments on commit 7cb735f

Please sign in to comment.