I am about ready to do something desperate! Thelast few days I have been adding major requested features to a Win32 app - which is now using Class::DBI. I have use C::DBI quite successfully on some web projects and so I blithely went ahead and wrote it this way.
To localise the problem I have cut the code into little bits and put it back together to the point where it stops working. And when I mean stops - PerlApp exits unceremoniously.
If I un-comment any of the commented lines then PerlApp will crash with the following error reported on the command line:package InContact::cDBI; use strict; use Data::Dumper; use Class::DBI; use Class::DBI::mysql; use base 'Class::DBI::mysql'; InContact::cDBI->set_db('Main', 'dbi:mysql:incontact', 'root', ''); package InContact::cDBI::contactdetail; use base 'InContact::cDBI'; #__PACKAGE__->set_up_table('contactdetail'); #__PACKAGE__->has_a('contact_id' => 'InContact::cDBI::contact'); package InContact::cDBI::contact; use base 'InContact::cDBI'; # #__PACKAGE__->set_up_table('contact'); #__PACKAGE__->has_many('contact_detail' => 'InContact::cDBI::contactde +tail', 'contact_id'); # 1;
Free to wrong pool 88b278 not c0104 during global destruction. 'start4_01.pl' had compilation errors.
To me this smells of a threading issue, but I am not knowledgable enough to be able to go any further. Any clues? I have tried PDK5.3.0 and 5.2.0, ActivceState Perl 5.8.4 and 5.8.3.
In reply to PerlApp and Class::DBI don't mix! or do they? by jdtoronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |