From: Peter Rabbitson Date: Fri, 6 Jun 2014 16:38:52 +0000 (+0200) Subject: Revert heading change from 06752a03d, centralize the URL spec X-Git-Tag: v0.082800~184 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=32250d01415849731328c292c4f77b25a88444e6;p=dbsrgits%2FDBIx-Class.git Revert heading change from 06752a03d, centralize the URL spec There were several broken links referring to the old way of doing things, and help/support sounds better anyway. Reverting with added comments and whatnot --- diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 85450ac..4c7e298 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -59,8 +59,6 @@ sub _attr_cache { 1; -__END__ - =encoding UTF-8 =head1 NAME @@ -74,13 +72,21 @@ To get the most out of DBIx::Class with the least confusion it is strongly recommended to read (at the very least) the L in the order presented there. -=head1 HOW TO GET HELP +=cut + +# *DO NOT* change this heading - it is linked throughout the ecosystem + +sub DBIx::Class::_ENV_::HELP_URL () { + 'http://p3rl.org/DBIx::Class#GETTING_HELP/SUPPORT' +} + +=head1 GETTING HELP/SUPPORT -Due to the complexity of its problem domain, DBIx::Class is a relatively +Due to the sheer size of its problem domain, DBIx::Class is a relatively complex framework. After you start using DBIx::Class questions will inevitably arise. If you are stuck with a problem or have doubts about a particular -approach do not hesitate to contact the community with your questions. The -list below is sorted by "fastest response time": +approach do not hesitate to contact us via any of the following options (the +list is sorted by "fastest response time"): =over diff --git a/lib/DBIx/Class/ResultSourceHandle.pm b/lib/DBIx/Class/ResultSourceHandle.pm index 733db83..abbac4c 100644 --- a/lib/DBIx/Class/ResultSourceHandle.pm +++ b/lib/DBIx/Class/ResultSourceHandle.pm @@ -68,7 +68,7 @@ sub resolve { # vague error message as this is never supposed to happen "Unable to resolve moniker '%s' - please contact the dev team at %s", $_[0]->source_moniker, - 'http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class.pm#GETTING_HELP/SUPPORT', + DBIx::Class::_ENV_::HELP_URL, ), 'full_stacktrace'); } diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index a213c95..0bf3294 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -1310,7 +1310,7 @@ sub _determine_driver { "Your storage subclass @{[ ref $self ]} provides (or inherits) the method " . 'source_bind_attributes() for which support has been removed as of Jan 2013. ' . 'If you are not sure how to proceed please contact the development team via ' - . 'http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class.pm#GETTING_HELP/SUPPORT' + . DBIx::Class::_ENV_::HELP_URL ); }