From: Kieren Diment Date: Wed, 24 Jan 2007 21:48:07 +0000 (+0000) Subject: explained a cryptic error message X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=38c07935aa5d9784092adfa9568051a3bebd2a7b;p=dbsrgits%2FDBIx-Class-Historic.git explained a cryptic error message --- diff --git a/lib/DBIx/Class/Manual/Troubleshooting.pod b/lib/DBIx/Class/Manual/Troubleshooting.pod index 6087ae3..eaa35fe 100644 --- a/lib/DBIx/Class/Manual/Troubleshooting.pod +++ b/lib/DBIx/Class/Manual/Troubleshooting.pod @@ -47,5 +47,13 @@ correctly. L version 1.50 and L 1.43 are known to work. +=head2 ... Can't locate object method "source_name" via package ... + +There's likely a syntax error in the table class referred to elsewhere +in this error message. In particular make sure that the package +declaration is correct, so for a schema C< MySchema > you need to +specify a fully qualified namespace: C< package MySchema::MyTable; > +for example. + =cut