};
};
-my $install_group_accessors = sub {
+# Yes this method is undocumented
+# Yes it should be a private coderef like the one above it
+# No we can't do that (yet) because the DBIC-CDBI compat layer overrides it
+# %$*@!?&!&#*$!!!
+sub _mk_group_accessors {
my($self, $maker, $group, @fields) = @_;
my $class = Scalar::Util::blessed $self || $self;
sub mk_group_accessors {
my ($self, $group, @fields) = @_;
- $self->$install_group_accessors('make_group_accessor', $group, @fields);
+ $self->_mk_group_accessors('make_group_accessor', $group, @fields);
return;
}
sub mk_group_ro_accessors {
my($self, $group, @fields) = @_;
- $self->$install_group_accessors('make_group_ro_accessor', $group, @fields);
+ $self->_mk_group_accessors('make_group_ro_accessor', $group, @fields);
}
=head2 mk_group_wo_accessors
sub mk_group_wo_accessors {
my($self, $group, @fields) = @_;
- $self->$install_group_accessors('make_group_wo_accessor', $group, @fields);
+ $self->_mk_group_accessors('make_group_wo_accessor', $group, @fields);
}
=head2 make_group_accessor