X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDB.pm;h=235b6bf8ef82e27f06ee8747c4d2b0003777e2c8;hb=6de819183a4d44d0bf0a7f9db9e62efe3cf020a6;hp=99f76d7a108e4df43394a4adbcfb7882f221a5d3;hpb=43c7e15db1ecb2d5ce1c2c965cee80e5f5b98402;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/DB.pm b/lib/DBIx/Class/DB.pm index 99f76d7..235b6bf 100644 --- a/lib/DBIx/Class/DB.pm +++ b/lib/DBIx/Class/DB.pm @@ -61,7 +61,7 @@ it. See resolve_class below. =cut -__PACKAGE__->mk_classdata('class_resolver' => +__PACKAGE__->mk_classaccessor('class_resolver' => 'DBIx::Class::ClassResolver::PassThrough'); =begin hidden @@ -101,7 +101,7 @@ sub setup_schema_instance { my $class = shift; my $schema = {}; bless $schema, 'DBIx::Class::Schema'; - $class->mk_classdata('schema_instance' => $schema); + $class->mk_classaccessor('schema_instance' => $schema); } =begin hidden @@ -189,7 +189,7 @@ Returns an instance of the result source for this class =cut -__PACKAGE__->mk_classdata('_result_source_instance' => []); +__PACKAGE__->mk_classaccessor('_result_source_instance' => []); # Yep. this is horrific. Basically what's happening here is that # (with good reason) DBIx::Class::Schema copies the result source for @@ -267,13 +267,16 @@ Alias for L =end hidden -=head1 AUTHORS +=head1 FURTHER QUESTIONS? -Matt S. Trout +Check the list of L. -=head1 LICENSE +=head1 COPYRIGHT AND LICENSE -You may distribute this code under the same terms as Perl itself +This module is free software L +by the L. You can +redistribute it and/or modify it under the same terms as the +L. =cut