use strict;
use warnings;
-use MRO::Compat;
+BEGIN {
+ if ($] < 5.009_005) {
+ require MRO::Compat;
+ *DBIx::Class::_ENV_::OLD_MRO = sub () { 1 };
+ }
+ else {
+ require mro;
+ *DBIx::Class::_ENV_::OLD_MRO = sub () { 0 };
+ }
+}
+
use mro 'c3';
use DBIx::Class::Optional::Dependencies;
use vars qw($VERSION);
-use base qw/DBIx::Class::Componentised Class::Accessor::Grouped/;
+use base qw/DBIx::Class::Componentised DBIx::Class::AccessorGroup/;
use DBIx::Class::StartupCheck;
sub mk_classdata {
# Always remember to do all digits for the version even if they're 0
# i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports
# brain damage and presumably various other packaging systems too
-$VERSION = '0.08123_01';
+$VERSION = '0.08127';
$VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
=over
+=item * Web Site: L<http://www.dbix-class.org/>
+
=item * IRC: irc.perl.org#dbix-class
=for html
-<a href="http://mibbit.com/chat/#dbix-class@irc.perl.org">(click for instant chatroom login)</a>
+<a href="http://chat.mibbit.com/#dbix-class@irc.perl.org">(click for instant chatroom login)</a>
=item * Mailing list: L<http://lists.scsys.co.uk/mailman/listinfo/dbix-class>
=item * git: L<git://git.shadowcat.co.uk/dbsrgits/DBIx-Class.git>
+=item * twitter L<http://www.twitter.com/dbix_class>
+
=back
=head1 SYNOPSIS
__PACKAGE__->table('cd');
__PACKAGE__->add_columns(qw/ cdid artistid title year /);
__PACKAGE__->set_primary_key('cdid');
- __PACKAGE__->belongs_to(artist => 'MyDB::Schema::Artist', 'artistid');
+ __PACKAGE__->belongs_to(artist => 'MyDB::Schema::Result::Artist', 'artistid');
1;
handle as requested in order to minimise memory usage. It has auto-increment
support for SQLite, MySQL, PostgreSQL, Oracle, SQL Server and DB2 and is
known to be used in production on at least the first four, and is fork-
-and thread-safe out of the box (although your DBD may not be).
+and thread-safe out of the box (although
+L<your DBD may not be|DBI/Threads_and_Thread_Safety>).
This project is still under rapid development, so large new features may be
marked EXPERIMENTAL - such APIs are still usable but may have edge bugs.
Alexander Keusch <cpan@keusch.at>
+alnewkirk: Al Newkirk <we@ana.im>
+
+amiri: Amiri Barksdale <amiri@metalabel.com>
+
amoore: Andrew Moore <amoore@cpan.org>
andyg: Andy Grundman <andy@hybridized.org>
ank: Andres Kievsky
+arc: Aaron Crane <arc@cpan.org>
+
arcanez: Justin Hunter <justin.d.hunter@gmail.com>
ash: Ash Berlin <ash@cpan.org>
bluefeet: Aran Deltac <bluefeet@cpan.org>
+bphillips: Brian Phillips <bphillips@cpan.org>
+
boghead: Bryan Beeley <cpan@beeley.org>
bricas: Brian Cassidy <bricas@cpan.org>
caelum: Rafael Kitover <rkitover@cpan.org>
+caldrin: Maik Hentsche <maik.hentsche@amd.com>
+
castaway: Jess Robinson
claco: Christopher H. Laco
dyfrgi: Michael Leuchtenburg <michael@slashhome.org>
+freetime: Bill Moseley <moseley@hank.org>
+
frew: Arthur Axel "fREW" Schmidt <frioux@gmail.com>
goraxe: Gordon Irving <goraxe@cpan.org>
ilmari: Dagfinn Ilmari MannsE<aring>ker <ilmari@ilmari.org>
+initself: Mike Baas <mike@initselftech.com>
+
+jawnsy: Jonathan Yu <jawnsy@cpan.org>
+
jasonmay: Jason May <jason.a.may@gmail.com>
jesper: Jesper Krogh
jshirley: J. Shirley <jshirley@gmail.com>
+kaare: Kaare Rasmussen
+
konobi: Scott McWhirter
+littlesavage: Alexey Illarionov <littlesavage@orionet.ru>
+
lukes: Luke Saunders <luke.saunders@gmail.com>
marcus: Marcus Ramberg <mramberg@cpan.org>
mattlaw: Matt Lawrence
+mattp: Matt Phillips <mattp@cpan.org>
+
michaelr: Michael Reddick <michael.reddick@gmail.com>
+milki: Jonathan Chu <milki@rescomp.berkeley.edu>
+
ned: Neil de Carteret
nigel: Nigel Metheringham <nigelm@cpan.org>
plu: Johannes Plunien <plu@cpan.org>
+Possum: Daniel LeWarne <possum@cpan.org>
+
quicksilver: Jules Bean
rafl: Florian Ragwitz <rafl@debian.org>
+rainboxx: Matthias Dietrich <perl@rb.ly>
+
rbo: Robert Bohne <rbo@cpan.org>
rbuels: Robert Buels <rmb32@cornell.edu>
Roman: Roman Filippov <romanf@cpan.org>
+Sadrak: Felix Antonius Wilhelm Ostmann <sadrak@cpan.org>
+
sc_: Just Another Perl Hacker
scotty: Scotty Allen <scotty@scottyallen.com>
spb: Stephen Bennett <stephen@freenode.net>
+Squeeks <squeek@cpan.org>
+
sszabo: Stephan Szabo <sszabo@bigpanda.com>
+talexb: Alex Beamish <talexb@gmail.com>
+
+tamias: Ronald J Kimball <rjk@tamias.net>
+
teejay : Aaron Trevena <teejay@cpan.org>
Todd Lipcon
wreis: Wallace Reis <wreis@cpan.org>
-zamolxes: Bogdan Lucaciu <bogdan@wiz.ro>
+yrlnry: Mark Jason Dominus <mjd@plover.com>
-Possum: Daniel LeWarne <possum@cpan.org>
+zamolxes: Bogdan Lucaciu <bogdan@wiz.ro>
=head1 COPYRIGHT