On Mon, Nov 25, 2002 at 04:15:49PM -0800, David Wheeler wrote:
> On Monday, November 25, 2002, at 04:04 PM, Tim Bunce wrote:
>
> >Perl 5.8.0 is (quite reasonably) clearing refs in lexical variables
> >in a more timely manner when the sub exists.
> >
> >The failing test in 07kids.t isn't testing anything significant
> >so I've just replaced it with a comment:
> >
> > # Testing $dbh->{Kids} here is unstable because we would be
> >relying on
> > # when perl chooses to call DESTROY the lexical $sth created
> >within prepare()
> > # The HandleError sub doesn't get called until the do() is
> >returning
> > # and recent perl's (>=5.8.0) have destroyed the handle by then
> >(quite reasonably).
> >
> > # When a HandleEvent attribute gets added to the DBI then we'll
> >probably call that
> > # at the moment the error is registered, and so we could test
> >$sth->{Kids} then.
>
> Ah, how interesting. Makes sense.
>
> Um, what is HandleEvent? Have you described it somewhere?
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&as_qdr=all&q=HandleEvent+Bunce
Tim.