package DBIx::Class;
+# important to load early
+use DBIx::Class::_Util;
+
use strict;
use warnings;
$VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
-use DBIx::Class::_Util;
use mro 'c3';
use base qw/DBIx::Class::Componentised DBIx::Class::AccessorGroup/;
-use DBIx::Class::StartupCheck;
use DBIx::Class::Exception;
__PACKAGE__->mk_group_accessors(inherited => '_skip_namespace_frames');
. "Unable to continue - a part of the bundled templib contents "
. "was already loaded (likely an older version from CPAN). "
. "Make sure that @{[ __PACKAGE__ ]} is loaded before $_\n"
- . "\n\tThis *WILL NOT* be necessary for the official DBIC release\n\n"
+ . "\nUsually it is sufficient to add PERL5OPT=\"-M@{[ __PACKAGE__ ]}\" "
+ . "to your environment in order to resolve this problem\n"
+ . "\n\tThis is temporary and *WILL NOT* be necessary for the official "
+ . "DBIC release\n\n"
;
}
}