in reply to DBIx::Simple - Your opinions/review please
In case you haven't used DBIx::Simple yet, please do give it a try and let me know how things went. I'd really appreciate a thorough review, especially from someone who has experience with DBI and/or DBIx modules.
Juerd, as the reviews show, this is a great module. It's my favorite way to access Perl databases.
However, there are some issues with the module that are not receiving a timely response.
I emailed you 2 weeks ago about putting the source code for ::Simple in a public repo and you said you might, which is not definitive and doesnt encourage collaboration.
I demonstrated the utility of a map_field method and you did not agree to add one. I need one. It seems a good companion to map_hashes
There are 2 active bugs, both over 5 months old that you have not responded to or addressed.
NO RESPONSE TO EMAILED BUG
48 hours ago, I emailed you another issue along with a test case, and you have said nothing. I repeat it below for others to confirm/observe:
unorthodox scalar weakening leads to premature statment handle destruction
- any further thoughts on a public repo?
- if you download this folder and run test.pl, you will note that Case 3 returns a destroyed object because of the use of method chaining ( $dbixsimple->query->hashes ) . If line 165 in DBIx/Simple.pm has the quote marks removed from $self, then this case works fine, just like Case 1 and Case 2.
The problem is caused by line 158 in your code, where you attempt to hide a reference to the database handle by double-quoting it within the statement handle.
Is there a reason you didnt use Scalar::Util::Weaken instead of quoting an object like that? And why was such manual reference counting necessary anyway?
DBIx::Simple is a wonderful module, but it is in need of upkeep.