On Mon, Oct 28, 2002 at 05:07:37AM -0500, Simon Cozens via RT wrote:
Show quoted text> So I'm learning Class::DBI, for some reason... :-)
*grin*
Show quoted text> Accidentally, I called ->retrieve on the top-level class, not on the table's
> class, and got an infinite recursion. You can simulate this by doing
> perl -MClass::DBI -e 'print Class::DBI->retrieve(1)'
On the current beta version (which you probably want to try):
http://www.tmtm.com/Class-DBI-0.90_03.tar.gz
I get an entirely different error:
Failure while doing '' with 'SearchSQL in Class::DBI'
Can't locate object method "db_Main" via package "Class::DBI"
at /usr/local/share/perl/5.8.0/Ima/DBI.pm line 423. at -e line 1
No sth at /usr/local/share/perl/5.8.0/Class/DBI.pm line 685.
This all happens, obviously enough, as there's no database connection
set up yet.
I'll see if I can find a convenient place to insert a sensible error.
Thanks,
Tony