Revision history for Class::Accessor::Grouped.
+0.02 2006-06-26 19:23:13
+ - Added return statement to end of get_inherited
+
0.01 2006-06-26 17:38:23
- initial release
use Scalar::Util qw/blessed reftype/;
use vars qw($VERSION);
-$VERSION = '0.01';
+$VERSION = '0.02';
=head1 NAME
foreach (@supers) {
return ${$_.'::_'.$get} if defined(${$_.'::_'.$get});
};
+
+ return;
}
=head2 set_inherited
-use Test::More tests => 32;
+use Test::More tests => 33;
use strict;
use warnings;
use lib 't/lib';
SuperInheritedGroups->basefield(undef);
is(SuperInheritedGroups->basefield, 'base');
+is(BaseInheritedGroups->undefined, undef);
use warnings;
use base 'Class::Accessor::Grouped';
-__PACKAGE__->mk_group_accessors('inherited', 'basefield');
+__PACKAGE__->mk_group_accessors('inherited', 'basefield', 'undefined');
sub new {
return bless {}, shift;