|
From: Chris W. <ch...@cw...> - 2002-08-23 18:09:12
|
* Eric Reeves (er...@1s...) [020823 13:32]: > That was it; the data/SPOPS classes didn't match. Ah, good. > But it's still not happy! > > * Error: Cannot create SPOPS object! > Basic: DBD::Pg::st execute failed: ERROR: parser: > parse error at or near "," at > /usr/local/lib/perl5/site_perl/5.6.1/SPOPS/SQLInterfa > ce.pm line 288. > > I've run a check_package, and everything looks ok. I've double-checked my > data file, and it looks alright as well. So, I could use a point in the > right direction to locate my problem. From that it sounds like you might be doing something like: [ qw/ 1, Foo 55.0 / ], Since this is using 'qw' the first member is actually '1,' and if you try to treat it as a number your database might barf. It would be difficult to tell without looking at your data file. Another question: did any of the data actually get inserted? > This is my first real-world experience with OOP, so I'm still trying to > get a firm grasp on both OOP concepts and how they're utilized in OI. > I'm getting closer. (= Well, OI isn't 'pure' in any sense. Some of the functions are too complex and overdesigned and thus difficult to understand for newcomers. But, have faith: there is a light at the end of the tunnel! Once you get a handle on things you can create some very cool stuff. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988 |