Subject: | backwards compatibility for Class::DBI->create() |
I think that:
# backward compatibility
*create = \&insert;
Is insufficient to support the old-style Class::DBI->create() method,
because you're still calling:
return $class->SUPER::insert($values);
in your overloaded insert() method, but for backwards compat that needs
to be able to invoke this as necessary:
return $class->SUPER::create($values);
I'm using:
Class::DBI::AutoIncrement 0.03
Class::DBI 0.96
DBD::CSV 0.22
DBD::File 0.34
SQL::Statement 1.15
This is perl, v5.6.1 built for i386-linux
Linux example.com 2.4.21-32.0.1.EL #1 Wed May 25 16:02:04 CDT 2005 i686
unknown
thanks,
--david