projects
/
p5sagit/Class-Accessor-Grouped.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a2537c5
)
require XSAccessor in case someone just set hasXS to true manually
Peter Rabbitson [Fri, 23 Apr 2010 23:05:27 +0000 (23:05 +0000)]
lib/Class/Accessor/Grouped.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/Accessor/Grouped.pm
b/lib/Class/Accessor/Grouped.pm
index
008347e
..
a62d12e
100644
(file)
--- a/
lib/Class/Accessor/Grouped.pm
+++ b/
lib/Class/Accessor/Grouped.pm
@@
-103,6
+103,7
@@
sub mk_group_accessors {
my $full_alias = join('::', $class, $alias);
if ( $hasXS && $group eq 'simple' ) {
+ require Class::XSAccessor;
Class::XSAccessor::newxs_accessor("${class}::${name}", $field, 0);
Class::XSAccessor::newxs_accessor("${class}::${alias}", $field, 0);