use strict;
use warnings;
-use namespace::autoclean;
+use namespace::autoclean 0.12;
use Moose ();
-use MooseX::ClassAttribute ();
+use MooseX::ClassAttribute 0.24 ();
use Moose::Exporter;
use Moose::Util::MetaRole;
use Carp;
use Moose::Role;
use Moose::Util::TypeConstraints;
- # MooseX::ClassAttribute is not always present in the consuming class
- sub add_class_attribute { }
-
around add_class_attribute => sub {
my $next = shift;
my $self = shift;