0.05999_05
- Fixup to columns_info_for when database returns type(size)
+ - Made do_txn respect void context (on the off-chance somebody cares)
0.05999_04
- Fix for delete on full-table resultsets
eval {
# Need to differentiate between scalar/list context to allow for returning
# a list in scalar context to get the size of the list
+
if ($wantarray) {
+ # list context
@return_values = $coderef->(@args);
- } else {
+ } elsif (defined $wantarray) {
+ # scalar context
$return_value = $coderef->(@args);
+ } else {
+ # void context
+ $coderef->(@args);
}
$self->txn_commit;
};