Permalink
Browse files

Remove use of MooseX::Types, as it's only used in this one place

  • Loading branch information...
1 parent 60100a6 commit a1f67d848287afabd88ba6bfb4ec6d0ce6416e90 @bobtfish committed Nov 13, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 Changes
  2. +2 −2 lib/MooseX/Role/WithOverloading/Meta/Role/Application.pm
View
@@ -1,3 +1,5 @@
+ * Remove use of MooseX::Types to allow Catalyst to work on perl 5.8.5
+ RT#77100, RT#81124
* Fix bug causing attributes to get lost if they were added to a role
before composing a ::WithOverloading role onto it.
@@ -3,7 +3,6 @@ package MooseX::Role::WithOverloading::Meta::Role::Application;
use Moose::Role 1.15;
use overload ();
-use MooseX::Types::Moose qw/ArrayRef Str/;
use namespace::autoclean;
requires 'apply_methods';
@@ -16,7 +15,7 @@ Returns an arrayref of the names of overloaded operations
has overload_ops => (
is => 'ro',
- isa => ArrayRef[Str],
+ isa => 'ArrayRef[Str]',
builder => '_build_overload_ops',
);
@@ -82,3 +81,4 @@ sub apply_overloading {
}
1;
+

0 comments on commit a1f67d8

Please sign in to comment.