From: Shawn M Moore Date: Sun, 28 Sep 2008 04:01:13 +0000 (+0000) Subject: Remove dependency on Scalar::Util X-Git-Tag: 0.19~208 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=01db075b42d0223394e07ab15ff55defed9df903;p=gitmo%2FMouse.git Remove dependency on Scalar::Util --- diff --git a/Makefile.PL b/Makefile.PL index 07cf38c..705437e 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,7 +3,6 @@ use inc::Module::Install; name 'Mouse'; all_from 'lib/Mouse.pm'; -requires 'Scalar::Util'; requires 'Class::Method::Modifiers' => '1.01'; build_requires 'Test::More'; diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 52e83bc..e483366 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -8,7 +8,7 @@ our $VERSION = '0.07'; use 5.006; use Carp 'confess'; -use Scalar::Util 'blessed'; +use Mouse::Util 'blessed'; use Mouse::Meta::Attribute; use Mouse::Meta::Class; diff --git a/t/201-squirrel.t b/t/201-squirrel.t index 8a37731..85c0fe5 100644 --- a/t/201-squirrel.t +++ b/t/201-squirrel.t @@ -4,7 +4,7 @@ use strict; use warnings; use Test::More; -use Scalar::Util 'blessed'; +use Mouse::Util 'blessed'; do { package Foo; diff --git a/t/202-squirrel-role.t b/t/202-squirrel-role.t index 5c70361..7201754 100644 --- a/t/202-squirrel-role.t +++ b/t/202-squirrel-role.t @@ -4,7 +4,7 @@ use strict; use warnings; use Test::More; -use Scalar::Util 'blessed'; +use Mouse::Util 'blessed'; do { package Foo::Role;