Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 24544
Status: new
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.53
Fixed in: (no value)



Subject: wish: make "if_active" a normal, overridable atttribute
prepare_cached() has an unconventional interface of accepting a third parameter that accept values of 1, 2 or 3. Just seeing these magic numbers in code, it's not clear what they do. Handling this "if_active" feature as a standard attribute would be somewhat clearer. However, my primary "wish" is that "if_active" be allowed to be set globally, so I can set the behavior policy of prepare_cached() in a single place in my application. Mark