Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tag: v0.42
Commits on Dec 17, 2010
  1. Timestamped for 0.42.

  2. Fix bug where catch blocks did not propagate exceptions.

    If you threw an exception from a catch block, it would not be detectable
    from outside:
        eval {
            $conn->run(sub { die 'WTF' }, catch => sub { die 'OMG!' });
        if (my $err = $@) {
            say "We got an error: $@\n";
    In this example, the `if` block would never be called, because even though the
    catch block threw an exception, $@ was not set. This could be terribly
    annoying, as you can imagine. I was being a bit too clever about localizing
    `$@`, but did so with the scope much too broad. This patch uses a much tighter
    scope to localize `$@`, so now it should propagate properly everywhere.
Commits on Dec 8, 2010
  1. Add 0.42 to Changes.

  2. Increment version to 0.42.

  3. Timestamp for 0.41.

  4. Add `disconnect_on_destroy()`.

    Suggested by John Siracusa. Closes #6.
Commits on Nov 4, 2010
  1. @karenetheridge

    pod fixes

    karenetheridge authored
Commits on Sep 17, 2010
  1. Increment version to 0.41.

  2. Timestamp for 0.40 release.

  3. Increment to version 0.40.

  4. Require Test::Pod.

    And update link to the GitHub repository to be a nice link.
Commits on Sep 9, 2010
  1. Email bug reports, too.

  2. I kant spel.

Commits on Sep 3, 2010
  1. Rollback on disconnect was removed.

    So remove the docs that say that.
Commits on Aug 30, 2010
  1. Simplify `DESTROY()`.

    * `DESTROY()` no longer pings the database or rolls back transactions. It now
      simply calls `disconnect`. This avoids warnings during global destruction,
      and doesn't seem necessary anyway, as the DBI does these things during
      global destruction (and always has).
    * `DESTROY()` now clears `CachedKids`, following the precedent of DBIx::Class.
       May not be needed for recent-ish drivers, but seems harmless and it's nice
       to avoid warnings were possible.
    * The `connected()` method no longer `local`ly sets `RaiseError`. It instead
      leaves that to the drivers (currenly only Driver::Oracle).
Commits on Aug 6, 2010
  1. Alphabetize.

  2. Set `AutoInactiveDestroy` with DBI 1.614 and up.

    Set `AutoInactiveDestroy` on connect with DBI 1.614 and higher, unless it is
    explicitly set in the attributes. This makes things even safer in a forking
    environment, preventing a parent process from getting disconnected when a
    child exits without using the connection. The reports from Peter Rabbitson and
    Aran Deltac and subsequent discussion with Tim Bunce led to the addition of
    this attribute in DBI 1.614, which is now the recommended version of DBI.
Commits on Jul 29, 2010
  1. Document use of `wantarray` in blocks.

    Also added tests to make sure it works for `svp()` and `run()` in addition to
    `txn()`, and updated `Changes`.
  2. @yko

    Fix context for _exec

    yko authored
Commits on Jun 4, 2010
  1. Timestamp for 0.35 release.

Commits on May 24, 2010
  1. Add a scoping block around the execution of the blocks passed to `run…

    `txn()`, and `svp()`. This prevents an app from exiting when a user returns
    from the block via the `next` or `last` keyword, which in turn prevented
    transaction management code from running.
Commits on May 3, 2010
  1. Increment version to 0.35.

  2. Timestamp for 0.34

    A few minor code tweaks. Notably, only disable `with()`'s warnings when our
    own tests are running. They should be quite visible for anyone else's tests.
Commits on Apr 30, 2010
  1. Deprecate `with`.

    Also proof the docs and make tweaks to them.
    Also update the copyright year.
  2. Add `mode` attribute.

Commits on Mar 31, 2010
  1. Timestamp for 0.33.

Something went wrong with that request. Please try again.