X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass.pm;h=bdcc960310a4800a9f94e78fd5bc0be3c095f417;hb=c33d5ebc4d84e4338f269565f6fe011801cb9fd4;hp=f76419d47e00ccf80b9176885bcd65a33fd085f9;hpb=5f48fa565dc31b9d22762488afdec8502b8ca515;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index f76419d..bdcc960 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -14,7 +14,7 @@ our $VERSION; # $VERSION declaration must stay up here, ahead of any other package # declarations, as to not confuse various modules attempting to determine # this ones version, whether that be s.c.o. or Module::Metadata, etc -$VERSION = '0.082899_15'; +$VERSION = '0.082899_25'; $VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases @@ -23,22 +23,18 @@ use mro 'c3'; use base qw/DBIx::Class::Componentised DBIx::Class::AccessorGroup/; use DBIx::Class::Exception; -__PACKAGE__->mk_classaccessor( _skip_namespace_frames => - '^DBIx::Class|^SQL::Abstract|^Try::Tiny|^Class::Accessor::Grouped|^Context::Preserve|^Moose::Meta::' +__PACKAGE__->mk_classaccessor( + _skip_namespace_frames => join( '|', map { '^' . $_ } qw( + DBIx::Class + SQL::Abstract + SQL::Translator + Try::Tiny + Class::Accessor::Grouped + Context::Preserve + Moose::Meta:: + )), ); -# FIXME - this is not really necessary, and is in -# fact going to slow things down a bit -# However it is the right thing to do in order to get -# various install bases to highlight their brokenness -# Remove at some unknown point in the future -# -# The oddball BEGIN is there for... reason unknown -# It does make non-segfaulty difference on pre-5.8.5 perls, so shrug -BEGIN { - sub DESTROY { &DBIx::Class::_Util::detected_reinvoked_destructor }; -} - sub component_base_class { 'DBIx::Class' } # *DO NOT* change this URL nor the identically named =head1 below