projects
/
gitmo/MooseX-ClassAttribute.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d8ac31a
)
Use Moose::_get_caller (unseemly, but maybe more flexible).
Dave Rolsky [Thu, 6 Dec 2007 22:22:21 +0000 (22:22 +0000)]
lib/MooseX/ClassAttribute.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/ClassAttribute.pm
b/lib/MooseX/ClassAttribute.pm
index
233585e
..
9eb4d88
100644
(file)
--- a/
lib/MooseX/ClassAttribute.pm
+++ b/
lib/MooseX/ClassAttribute.pm
@@
-87,7
+87,7
@@
sub class_has ## no critic RequireArgUnpacking
# This is basically copied from Moose.pm
sub unimport ## no critic RequireFinalReturn
{
- my $caller = caller();
+ my $caller = Moose::_get_caller(@_);
no strict 'refs'; ## no critic ProhibitNoStrict
foreach my $name (@EXPORT)