Forgot to attach it :)
See attached.
diff -Naur Device-WWN-1.01_orig/Makefile.PL Device-WWN-1.01/Makefile.PL
--- Device-WWN-1.01_orig/Makefile.PL 2014-01-24 20:37:24.122364673 -0500
+++ Device-WWN-1.01/Makefile.PL 2014-01-24 20:39:38.198366427 -0500
@@ -7,7 +7,7 @@
Moose Carp::Clan::Share Device::OUI Module::Find Sub::Exporter
);
test_requires( $_ ) for qw(
- Test::More Test::Most ok
+ Test::More Class::Load Test::Most ok
);
extra_tests();
diff -Naur Device-WWN-1.01_orig/t/Device-WWN-EMC-Symmetrix.t Device-WWN-1.01/t/Device-WWN-EMC-Symmetrix.t
--- Device-WWN-1.01_orig/t/Device-WWN-EMC-Symmetrix.t 2014-01-24 20:37:24.122364673 -0500
+++ Device-WWN-1.01/t/Device-WWN-EMC-Symmetrix.t 2014-01-24 20:39:27.910366295 -0500
@@ -1,6 +1,7 @@
#!perl
use strict; use warnings;
use Test::Most tests => 6;
+use Class::Load;
use ok 'Device::WWN::EMC::Symmetrix';
use ok 'Device::WWN';
@@ -77,7 +78,7 @@
for my $x ( @values ) {
#explain "About to test ", $x;
my $class = delete $x->{ 'class' } || 'Device::WWN';
- Class::MOP::load_class( $class );
+ Class::Load::load_class( $class );
unless ( $class eq 'Device::WWN' ) {
my @sc = grep { $_ eq $class }
Device::WWN->find_subclasses( $x->{ 'wwn' } );
diff -Naur Device-WWN-1.01_orig/t/Device-WWN.t Device-WWN-1.01/t/Device-WWN.t
--- Device-WWN-1.01_orig/t/Device-WWN.t 2014-01-24 20:37:24.122364673 -0500
+++ Device-WWN-1.01/t/Device-WWN.t 2014-01-24 20:39:51.142366599 -0500
@@ -1,5 +1,6 @@
#!perl
use strict; use warnings;
+use Class::Load;
use Test::Most tests => 213;
use ok 'Device::WWN';
@@ -199,7 +200,7 @@
for my $x ( @values ) {
#explain "About to test ", $x;
my $class = delete $x->{ 'class' } || 'Device::WWN';
- Class::MOP::load_class( $class );
+ Class::Load::load_class( $class );
unless ( $class eq 'Device::WWN' ) {
my @sc = grep { $_ eq $class }
Device::WWN->find_subclasses( $x->{ 'wwn' } );