<p>I have just discovered that, on at least one machine, the test introduced by <a href="https://github.com/dbsrgits/dbix-class/commit/3d56e0269f018071841218af861bfa07df6bf01b" class="commit-link"><tt>3d56e02</tt></a> fails, because the destructor is <em>not</em> called twice. This is on a perl 5.8.8.</p>

<p>I'm not sure how much I can help with reproducing, since that's one of our production machines and <code>perlbrew</code> does not compile 5.8.8 <img class="emoji" title=":disappointed:" alt=":disappointed:" src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f61e.png" height="20" width="20" align="absmiddle"> </p>

<p>The comment at <a href="https://github.com/dbsrgits/dbix-class/blob/current/blead/t/storage/txn_scope_guard.t#L181">https://github.com/dbsrgits/dbix-class/blob/current/blead/t/storage/txn_scope_guard.t#L181</a> makes me suspect that 5.8.8 is weird in general.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/dbix-class/pull/63#issuecomment-144101598">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAuEFg1O5KGnnZ1aZMuaxYH5WV4YRks5o2quhgaJpZM4Cx5oh.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/dbix-class/pull/63#issuecomment-144101598"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>