<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks for the upgrade information.</FONT></DIV>
<DIV><FONT face=Arial size=2>The inheritance seems to work without any errors or
wraning now, when using Catalyst::Model::CDBI.</FONT></DIV>
<DIV><FONT face=Arial size=2>However I don't know if my upgrade was correct, but
when I try using Catalyst::Model::CDBI::Plain I get the following
problems:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>mk-solaris3-dev# more lib/NIM/M/CDBI.pm <BR>package
NIM::M::CDBI;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>use strict;<BR>use base
'Catalyst::Model::CDBI::Plain';</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>__PACKAGE__->config(<BR>
dsn =>
'dbi:Oracle:DEV4',<BR>
user =>
'lluuser',<BR> password =>
'lluus3r',<BR> options
=> { },<BR> relationships => 0<BR>);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR>mk-solaris3-dev# more lib/NIM/M/CDBI/Btinport.pm <BR>package
NIM::M::CDBI::Btinport;</DIV>
<DIV> </DIV>
<DIV>use base 'NIM::M::CDBI';<BR>use strict;</DIV>
<DIV> </DIV>
<DIV>__PACKAGE__->table('btinport');<BR>__PACKAGE__->columns(All =>
qw/btinportid btincardname cardportlocation/);</DIV>
<DIV> </DIV>
<DIV>1;</DIV>
<DIV> </DIV>
<DIV>mk-solaris3-dev# ./script/nim_test.pl <BR>[Mon May 2 16:22:06 2005]
[catalyst] [debug] Debug messages enabled<BR>[Mon May 2 16:22:06 2005]
[catalyst] [debug] Loaded dispatcher "Catalyst::Dispatcher"<BR>[Mon May 2
16:22:07 2005] [catalyst] [debug] Loaded engine "Catalyst::Engine::Test"<BR>[Mon
May 2 16:22:07 2005] [catalyst] [debug] Found home
"/u01/dev/NIM/script/.."<BR>Use of 'new' is deprecated at
/usr/local/lib/perl5/site_perl/5.8.5/Catalyst/Model/CDBI/Plain.pm line 15. Use
'create' instead<BR>Couldn't instantiate "NIM::M::CDBI::Btinport", "create needs
a hashref at /usr/local/lib/perl5/site_perl/5.8.5/Module/Pluggable/Fast.pm line
104<BR>" at /usr/local/lib/perl5/site_perl/5.8.5/Catalyst/Engine.pm line
665<BR>[Mon May 2 16:22:07 2005] [catalyst] [debug] Loaded
components</DIV>
<DIV> </DIV>
<DIV>I couldn't see any information on the archive lists, and was wondering if
this is something I've done wrong ??</DIV>
<DIV> </DIV>
<DIV>again any information is much appreciated.</DIV>
<DIV> </DIV>
<DIV></FONT> </DIV></BODY></HTML>