From: Arthur Axel 'fREW' Schmidt Date: Sat, 28 Dec 2013 00:06:49 +0000 (-0600) Subject: stop using Class::MOP::load_class (RT#91003) X-Git-Tag: v0.002209~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7cd51078a11803bebdc456ad0120b27cdfefeba4;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git stop using Class::MOP::load_class (RT#91003) --- diff --git a/Changes b/Changes index d31e5f2..f0a21c9 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for {{$dist->name}} {{$NEXT}} + - stop using Class::MOP::load_class (RT#91003) 0.002208 2013-09-21 12:47:31 America/Chicago - Fix under perl 5.19.4 (thanks Hugmeir) diff --git a/lib/DBIx/Class/DeploymentHandler/WithApplicatorDumple.pm b/lib/DBIx/Class/DeploymentHandler/WithApplicatorDumple.pm index 107780b..404dbcd 100644 --- a/lib/DBIx/Class/DeploymentHandler/WithApplicatorDumple.pm +++ b/lib/DBIx/Class/DeploymentHandler/WithApplicatorDumple.pm @@ -1,6 +1,6 @@ package DBIx::Class::DeploymentHandler::WithApplicatorDumple; use MooseX::Role::Parameterized; -use Class::MOP; +use Module::Runtime 'use_module'; use namespace::autoclean; # this is at least a little ghetto and not super well @@ -40,7 +40,7 @@ role { my $class_name = $p->class_name; - Class::MOP::load_class($class_name); + use_module($class_name); my $meta = Class::MOP::class_of($class_name);