From: Yuval Kogman Date: Tue, 20 Jun 2006 11:28:01 +0000 (+0000) Subject: Moose::Role needs 'use Moose ()' for some utility functions, and also uses blessed() X-Git-Tag: 0_09_03~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e65dccbc7d9bf6cb169f703e8e8338bd96960618;p=gitmo%2FMoose.git Moose::Role needs 'use Moose ()' for some utility functions, and also uses blessed() --- diff --git a/lib/Moose/Role.pm b/lib/Moose/Role.pm index 9fe4461..77ee507 100644 --- a/lib/Moose/Role.pm +++ b/lib/Moose/Role.pm @@ -4,7 +4,7 @@ package Moose::Role; use strict; use warnings; -use Scalar::Util (); +use Scalar::Util 'blessed'; use Carp 'confess'; use Sub::Name 'subname'; @@ -12,6 +12,8 @@ use Sub::Exporter; our $VERSION = '0.05'; +use Moose (); + use Moose::Meta::Role; use Moose::Util::TypeConstraints;