<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>Am 02.05.2005 um 18:40 schrieb Anthony Lee:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <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></FONT></BLOCKQUOTE><BR></DIV><DIV>Yes, it's broken, we'll upload a fixed version soon.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>For now you can just remove this line.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>�� �*{"$class\::new"} = sub { Class::DBI::new(@_) };</DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">--</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">sebastian</FONT></P> </DIV><BR></BODY></HTML>