Revision history for Class::Accessor::Grouped.
+ - Major cleanup and optimization of code (evaled coderef sharing)
+ - Module can now operate in PurePerl environments with 100%
+ compatibility (including proper naming of generated coderefs)
0.09008 Sun Oct 11 07:41:56 2010
- Put back a private undocumented method that the DBIC-CDBI compat
local $@;
my $err;
+
$err = eval { require Sub::Name; 1; } ? undef : do {
delete $INC{'Sub/Name.pm'}; # because older perls suck
$@;
my $src = $accessor_maker_cache->{source}{$type}{$group}{$field} ||=
$maker_templates->{$type}{pp_code}->($group, $field);
+ no warnings 'redefine';
local $@ if __CAG_UNSTABLE_DOLLARAT;
eval "sub ${fq_name}{$src}";