|
|
| Do you know where your variables are? | |
| PerlMonks |
DBIx::Class "Can't call method 'select' on an undefined value"by sundialsvc4 (Monsignor) |
| on Jan 21, 2009 at 23:44 UTC ( #737992=perlquestion: print w/ replies, xml ) | Need Help?? |
|
sundialsvc4 has asked for the
wisdom of the Perl Monks concerning the following question:
Okay, let me start over on this post... :-) The code looks like this:
This is what it says:
Now, if you study the test-script closely (it uses Test::More and Test::Except ...), you will see that I am trying to systematically check everything I can think of. I know, by this point, that the connection is present. I know that the class is loaded. I know that the resultset('TFoodtype') call is returning a result-set. So it comes down to the final call... and I know that I am doing something abjectly stupid here and I just can't see it! (Whimper...) My hand is poised, ready to slap my forehead...
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||