projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b7f2d25
)
Moose::Role needs 'use Moose ()' for some utility functions, and also uses blessed()
Yuval Kogman [Tue, 20 Jun 2006 11:28:01 +0000 (11:28 +0000)]
lib/Moose/Role.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Role.pm
b/lib/Moose/Role.pm
index
9fe4461
..
77ee507
100644
(file)
--- 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;