projects
/
p5sagit/Class-Accessor-Grouped.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added get_inherited/set_inherited to get/set inheritable class/object data much like...
[p5sagit/Class-Accessor-Grouped.git]
/
t
/
lib
/
BaseInheritedGroups.pm
diff --git a/t/lib/BaseInheritedGroups.pm
b/t/lib/BaseInheritedGroups.pm
new file mode 100644
(file)
index 0000000..
1f63f0f
--- /dev/null
+++ b/
t/lib/BaseInheritedGroups.pm
@@ -0,0
+1,12
@@
+package BaseInheritedGroups;
+use strict;
+use warnings;
+use base 'Class::Accessor::Grouped';
+
+__PACKAGE__->mk_group_accessors('inherited', 'basefield');
+
+sub new {
+ return bless {}, shift;
+};
+
+1;