I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-01-28 20:39:54-08 by seven
last_insert_id() change?
Hi I have a script that is working on a few different RedHat Fedora Core # installs on 32 & 64 bit platforms. We now have a Fedora 7, 64 bit machine and I just tried running it there. I get the message:
DBI last_insert_id: invalid number of arguments: got handle + 0, expected handle + between 4 and 5 Usage: $h->last_insert_id($catalog, $schema, $table_name, $field_name [, \%attr ]) at /usr/loca +l/bin/myScript line 454.
That line looks like
my $id = $DBH->last_insert_id();
This machine is running an RPM install of MySQL 5.0.45 and I have updated the CPAN modules that this machine is running as well. It is still failing. Is this a change in the MySQL modules or MySQL itself? Dean
Direct Responses: Write a response